AdvancedCompositionalLayout
AdvancedCompositionalLayout copied to clipboard
Modern collection view with compositional layout.
AdvancedCompositionalLayout
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.
⚡ Technologies
- Combine
- UICollectionViewCompositionalLayout
- UICollectionViewDiffableDataSource
- UICollectionViewList
- Supplementary Views (Header + Footer + Decoration + Badge Views)
- Pagination
⚡ Layouts
- Expandable List
- Grid
- Nested Groups
- Waterfall
- Multi Section
- Pagination List
- List with Supplementary Views
- Supplementary for Paging
- Decoration & Badge View
Expandable List

Grid

Nested Group

Waterfall
Vertical

Horizontal

Multi Section

Pagination List
| Loading | Retry | All Done |
|---|---|---|
![]() |
![]() |
![]() |
List with Supplementary Views
Supplementary for Paging
| Header | Footer |
|---|---|
![]() |
![]() |
Decoration and Badge View
| Decoration View | Badge View |
|---|---|
![]() |
![]() |
Requirements
- iOS 14+
- Swift 5+
- Xcode 12+
Author
Feel free to reach out with issues, questions or anything else.
-
Send Email
- Follow on LinkedIn






