Skip to content

Subclassing SLExpandableTableView while implementing delegate and datasource causes problems. #48

Description

@123kyky

Example:
class TestTableView: SLExpandableTableView, SLExpandableTableViewDelegate, SLExpandableTableViewDatasource
Looks to be the appropriate way to implement UITableView Delegate and DataSource but unable to set them.
testTableView.delegate = testTableView wants me to impossibly cast to SLExpandableDelegate

Or implementing the following also creates an error
class TestTableView: SLExpandableTableView, UITableViewDelegate, UITableViewDataSource

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions