Reusable TableView
This repo contains extensions and implementation that avoid repeated UITableViewDataSource and UITableViewDelegate implementations and ensures type-safe code during compliation.
- ReusableTableViewDataManager is the manager that communicates between the viewcontroller and its tableview.
- ViewController should hold a strong refernce of this Manager.
- Tableview's datasource and delegate should be this Manager reference.
ReusableTableViewDataManager expects objects confirming to protocols: (i) DataProvider (that provides set of models) (ii) DataBinder (binds model data in cell)