CreationKit Documentation

Structure Carousel​Configuration

public struct CarouselConfiguration  

Initializers

init(item​Size:​item​Edge​Spacing:​group​Size:​group​Edge​Spacing:​inter​Item​Spacing:​orthogonal​Scrolling​Behavior:​inter​Group​Spacing:​inter​Section​Spacing:​visible​Item​Invalidator:​)

public init(itemSize: NSCollectionLayoutSize,
              itemEdgeSpacing: NSCollectionLayoutEdgeSpacing? = nil,
              groupSize: NSCollectionLayoutSize,
              groupEdgeSpacing: NSCollectionLayoutEdgeSpacing? = nil,
              interItemSpacing: NSCollectionLayoutSpacing? = nil,
              orthogonalScrollingBehavior: UICollectionLayoutSectionOrthogonalScrollingBehavior = .none,
              interGroupSpacing: CGFloat = 0,
              interSectionSpacing: CGFloat = 0,
              visibleItemInvalidator: NSCollectionLayoutSectionVisibleItemsInvalidationHandler? = nil)