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
{{ message }}
This repository was archived by the owner on Apr 15, 2020. It is now read-only.
For each of the 3 categories above, there should be separate protocols and structs. Generic parameters for each should include Cell and Item, and the implementations should follow the patterns established by the existing protocol TableViewCellFactoryType and struct TableViewCellFactory.
Section index titles
Create a protocol TableViewSectionIndexingType
Create a struct TableViewSectionIndexingController
Editing
Create a protocol TableViewEditingType
Create a struct TableViewEditingController
Reordering
Create a protocol TableViewReorderingType
Create a struct TableViewReorderingController
Finally, TableViewDataSourceProvider.init should optionally receive each of the above protocols.
The following methods from
UITableViewDataSourceare currently not supported.Section index titles
- sectionIndexTitlesForTableView:- tableView:sectionForSectionIndexTitle:atIndex:Editing
- tableView:commitEditingStyle:forRowAtIndexPath:(Issue 29 table view data source editing #67)- tableView:canEditRowAtIndexPath:(Issue 29 table view data source editing #67)Reordering
- tableView:canMoveRowAtIndexPath:- tableView:moveRowAtIndexPath:toIndexPath:Implementation notes
For each of the 3 categories above, there should be separate protocols and structs. Generic parameters for each should include
CellandItem, and the implementations should follow the patterns established by the existingprotocol TableViewCellFactoryTypeandstruct TableViewCellFactory.Section index titles
protocol TableViewSectionIndexingTypestruct TableViewSectionIndexingControllerEditing
protocol TableViewEditingTypestruct TableViewEditingControllerReordering
protocol TableViewReorderingTypestruct TableViewReorderingControllerFinally,
TableViewDataSourceProvider.initshould optionally receive each of the above protocols.