Example project in support for blog post: https://www.codewithshabib.com/how-to-create-a-swiftui-collectionview/
Key takeouts:
- SwiftUI
- Combine
- iOS 13.0
- UICollectionViewCompositionalLayout
- UICollectionViewDiffableDataSource
- Clean Architecture
Features:
- Pull to refresh
- Pagination support
I'm using SwiftLint and SwiftFormat to ensure coding style and format. Also using Komondor to automate it with git precommit hook.
Installation:
$ swift build
$ swift run komondor install
Demo |
---|