edonv/collectionview
`CollectionView` is a SwiftUI wrapper of [`UICollectionView`](https://developer.apple.com/documentation/uikit/uicollectionview).
Usage
- Make sure to use
.ignoresSafeArea()if it's meant to be full-screen.
To-Do's
- [x] Implement
UICellConfigurationState. - [ ] Add support for
NSCollectionView. - [ ] Make sure
CollectionViewisn't updating itself more than necessary? or is it not because it's aRepresentableView? - [ ] Condense initializers somehow...
- [ ] Add support for section snapshots.
- [ ] Add support for expandable sections.
- [ ] Add support for section headers/footers.
- [ ] Refactor
cellRegistrationHandlerout of primary initializers and replace with aUICollectionViewDiffableDataSource<Section, Item>.CellProviderclosure to allow for more complicated configurations. - [ ] Finish documenting view modifiers.
- [ ] Work on more concrete example for README/DocC articles.
Package Metadata
Repository: edonv/collectionview
Default branch: main
README: README.md