Skip to content

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

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages