Diffable Datasources in iOS 13

One of the features of iOS 13 that has not gotten much attention is the new diffable datasources for UITableView and UICollectionView. Using UITableViewDiffableDataSource or UICollectionViewDiffableDataSource along with NSDiffableDataSourceSnapshot you can create safe, animatable changes between two states without having to keep track of which records were added, moved, or deleted. It's seriously great!

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/415-diffable-datasources