Despite introducing SwiftUI (a declarative UI framework) with iOS 13, Apple still brought in a slew of new changes to the UIKit framework. Among the standout features were the enhancements to UICollectionView.
Specifically, the Compositional Layouts and Diffable Data Sources APIs allowed building advanced CollectionView layouts and centralized data sources a whole lot more easily.
iOS 14 takes it further by bringing a new cell registration API and providing out-of-the-box support for UITableView within UICollectionView.
But more importantly, diffable data sources in iOS 14 now include section snapshots. This means you can now update data on a per-section basis, which is immensely useful in building Outlined Styled lists, the new hierarchical design introduced with iOS 14.
First-class reordering capabilities is the other addition to diffable data sources this year.
Report Story