Compositional Layout
Episode
#453
|
22 minutes
| published on
July 31, 2020
| Uses Swift-5.3, iOS-14.0-beta2, Xcode-12-beta2
Free Video
First introduced in iOS 13, UICollectionViewCompositionalLayout is an amazing and powerful addition that gives you lots of flexibility when describing layouts. There are a few new types to get used to (namely sections, groups, and items) but they all work together allowing you to keep layout separate from your views and your data.
This episode is part of a series: Working with Modern Collection Views.
1. Setting Up 20 min |
2. Cell Registration 4 min |
3. Collection View List Layout 9 min |
4. Compositional Layout 22 min |
5. Diffable Datasource Snapshots 17 min |
6. Section Headers 13 min |
7. Heterogeneous Sections 16 min |
8. Background Decoration Views 5 min |
9. Using the Layout Environment 4 min |
10. Item Anchors 7 min |
Want more? Subscribers can view all 473 episodes. New episodes are released regularly.