Skip to content

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

@123kyky

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

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