Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ofthewolf/carouselsection
Carousel implementation with UICollectionViewCompositionalLayout
https://github.com/ofthewolf/carouselsection
carousel carousel-slider swift uicollectionviewcompositionallayout uikit
Last synced: 3 days ago
JSON representation
Carousel implementation with UICollectionViewCompositionalLayout
- Host: GitHub
- URL: https://github.com/ofthewolf/carouselsection
- Owner: OfTheWolf
- License: mit
- Created: 2024-04-24T17:23:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T17:54:17.000Z (7 months ago)
- Last Synced: 2024-11-08T05:20:30.033Z (about 2 months ago)
- Topics: carousel, carousel-slider, swift, uicollectionviewcompositionallayout, uikit
- Language: Swift
- Homepage: https://link.medium.com/iQptUJeV3Ib
- Size: 66.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CarouselSection
Carousel implementation with UICollectionViewCompositionalLayout# Usage
private lazy var carouselSection: CarouselSection = {
CarouselSection(collectionView: collectionView)
}()private lazy var layout: UICollectionViewLayout = UICollectionViewCompositionalLayout { [weak self] sectionIndex, layoutEnvironment in
guard let self else { return nil }
return self.carouselSection.layoutSection()
}# Demo
![Demo](https://miro.medium.com/v2/resize:fit:1200/format:webp/1*vxXHzHoML1-pmFz0nP2Sng.gif)