CreationKit Documentation

Enumeration Carousel

public enum Carousel  

Methods

make​Carousel(_:​)

@available(*, deprecated, renamed: "make(_:)")
  public static func makeCarousel(_ config: CarouselConfiguration) -> UICollectionView  

make(_:​)

public static func make(_ config: CarouselConfiguration) -> UICollectionView  

Use this factory if you need a Carousel that will be used as a standalone view, alongside other static views.

make​Carousel​Section(_:​)

@available(*, deprecated, renamed: "makeSection(_:)")
  public static func makeCarouselSection(_ config: CarouselConfiguration) -> NSCollectionLayoutSection  

make​Section(_:​)

public static func makeSection(_ config: CarouselConfiguration) -> NSCollectionLayoutSection  

Use this factory if the carousel will appear as part of a larger collection