Compositional Layout and Diffable Data Source
You're moving a screen built with UICollectionViewFlowLayout and an index-based dataSource to UICollectionViewCompositionalLayout and UICollectionViewDiffableDataSource. What gets better?
You're moving a screen built with UICollectionViewFlowLayout and an index-based dataSource to UICollectionViewCompositionalLayout and UICollectionViewDiffableDataSource. What gets better?
Compositional Layout lets you declare a different layout per section, and Diffable Data Source compares snapshots to animate inserts and deletes automatically, which removes the index mismatch crashes.
UIKitMultiple choiceAdvanced
Which statements about using UICollectionViewDiffableDataSource are correct? Pick all…
#collectionview #diffable-datasource #snapshot
UIKitShort answerBasics
You've inherited a UITableView feed where, on fast scrolling, images briefly show up in…
#collectionview
UIKitShort answerAdvanced
You need to put a horizontally scrolling UICollectionView inside a UITableViewCell in…
#collectionview
UIKitShort answerBasics
A take-home review. The home screen needs (1) a filter header that stays pinned to the…
#compositional-layout