You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I think your second solution, with some mix of composition, would be the best way down this path. Having your data source call into a Static.DataSource for those specific methods would allow you to combine two different functionalities.
However, I think not having access to tableView:willDisplayHeaderView:forSection: is definitely a downer... I'm wondering if there are better solutions here for those desiring that type of functionality.
Activity
eliperkins commentedon Aug 22, 2016
I think your second solution, with some mix of composition, would be the best way down this path. Having your data source call into a
Static.DataSourcefor those specific methods would allow you to combine two different functionalities.However, I think not having access to
tableView:willDisplayHeaderView:forSection:is definitely a downer... I'm wondering if there are better solutions here for those desiring that type of functionality.jaredegan commentedon Nov 21, 2017
I believe my PR solves this in the best way: #119