Cell Registration
Episode
#451
|
4 minutes
| published on
July 31, 2020
| Uses Swift-5.3, iOS-14.0-beta2, Xcode-12-beta2
Free Video
In this episode we migrate our collection view to use the new cell registration API. Using this API we no longer need to cast dequeued cell types to our custom types. Instead, we set up the registration object with the cell type and the data we'll be passing to each cell. This further reduces the code we have to write in our datasource implementation and gives us more flexibility on how and where cells are configured.
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 470 episodes. New episodes are released regularly.