Initializer

init(section:)

Creates a compositional layout object with a single section.

Declaration

See Also

Creating a Layout

init(section: NSCollectionLayoutSection, configuration: UICollectionViewCompositionalLayoutConfiguration)

Creates a compositional layout object with a single section and an additional configuration.

init(sectionProvider: UICollectionViewCompositionalLayoutSectionProvider)

Creates a compositional layout object with a section provider to supply the layout's sections.

init(sectionProvider: UICollectionViewCompositionalLayoutSectionProvider, configuration: UICollectionViewCompositionalLayoutConfiguration)

Creates a compositional layout object with a section provider and an additional configuration.