Skip to content

Carousel implementation with UICollectionViewCompositionalLayout

License

Notifications You must be signed in to change notification settings

faimin/CarouselSection

 
 

Repository files navigation

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

About

Carousel implementation with UICollectionViewCompositionalLayout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%