Collection View List Layout
Episode
#452
|
9 minutes
| published on
July 31, 2020
| Uses Swift-5.3, iOS-14.0-beta2, Xcode-12-beta2
Free Video
With UITableView no longer being encouraged for use, we need to replace this behavior with UICollectionView. This is where UICollectionViewListLayout comes into play. Using this layout we can get the familiar table view appearance in plain and grouped styles (as well as additional styles to support sidebars on iPad and macOS). This includes support for sticky headers and footers, swipe actions, and other UITableView behaviors that we've come to rely on.
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 485 episodes. New episodes are released regularly.