A simple example of the power of UICollectionViewCompositionalLayout and UICollectionViewDiffableDataSource. The purpose is to show how simple, how flexible and how to get the best performace using these tools in iOS apps.
- Combine
- UICollectionViewCompositionalLayout
- UICollectionViewDiffableDataSource
- UICollectionViewList
- Supplementary Views (Header + Footer + Decoration + Badge Views)
- Pagination
- Expandable List
- Grid
- Nested Groups
- Waterfall
- Multi Section
- Pagination List
- List with Supplementary Views
- Supplementary for Paging
- Decoration & Badge View
Loading | Retry | All Done |
---|---|---|
![]() |
![]() |
![]() |
Header | Footer |
---|---|
![]() |
![]() |
Decoration View | Badge View |
---|---|
![]() |
![]() |
- iOS 14+
- Swift 5+
- Xcode 12+
Feel free to reach out with issues, questions or anything else.