Flexible Diffable Data Sources

This event has ended. Get notified of similar upcoming events:

Data sources are important to handle rendering in table views and collection views. It’s common practice to abstract data sources for reusability. Since Apple introduced diffable data source in iOS 13 we now have more flexibility with snapshots to manage state.

We’ll start this workshop by creating a generic object that conforms to UICollectionViewDiffableDataSource and UITableViewDiffableDataSource. We’ll update a few of the protocol methods, configure the data source then work our way into handling snapshot updates without the infamous reloadData()!

All you will need for this workshop is the latest version of Xcode and familiarity with the original data source implementations.