Diffable Data Sources
Collection views and table views need to know what data to display, where to display it and how to move it. Data sources give our collection views and table views of this data. Diffable data sources provide a more simple and more stateless way to provide our data. What is it? A diffable data source is a subclass of either UITableViewDataSource or UICollectionViewDataSource. It is generic over two Hashable types. The types are SectionIdentifierType and ItemIdentifierType....