
This video is only available to subscribers. Start a subscription today to get access to this and 469 other videos.
Heterogeneous Sections
Episode
#456
|
16 minutes
| published on
August 5, 2020
| Uses Swift-5.3, Xcode-12-beta2
Subscribers Only
Our Diffable Datasource and snapshots are generic over the type of data that we pass to the cells. So how can we make sections with completely different data? In this episode we'll cover one approach which involves defining an enum with associated data for each of the sections. We'll use this to add a Series strip of data mixed in with our collection view.
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 |