DataSource
DataSource copied to clipboard
Simplifies the setup of UITableView data sources using type-safe descriptors for cells and sections. Animated diffing built-in.
Need to add SeparatorLineCell files under MBDataSource pod. Because when you call 'pod install' you will see the error.
``` class TestOne { struct Item { let value: String } } class TestTwo { struct Item { let value: Int } } dataSource.sections = [Section(items: [TestOne.Item(value: "Hello"), TestTwo.Item(value: 5)])]...
`update(rows:)` sets `rows` and `visibleRows` and may lead to unexpected behaviour when being used in combination with `reloadData`. Update documentation on how to update section contents.
Add a possibility to get more information about the used (or missing) identifiers, results of the diffying etc. to debug problems.