Skip to content

Modify delegate methods on DataSource? #78

Open
@chrismanderson

Description

Framework is a strong piece of work, thanks for sharing it! One of those things I wish was built into iOS itself.

Have a usage question for you all (that might end up just being a Swift question, but still!) - is there a way to add or modify the UITableViewDelegate methods on DataSource? (https://github.com/venmo/Static/blob/master/Static/DataSource.swift#L260).

For example, I'd like to be able to use tableView:willDisplayHeaderView:forSection:, but I don't see an easy way of hooking into that delegate declared in DataSource.

Tried subclassing DataSource, but then I get the Redudant conformance... error. I could fork the repo, or use a different data source entirely, but those solutions are much 'heavier'; it feels like there must be a better way that I'm missing.

Thanks!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions