One Logo Pool Ball
UIKit · IOS API REFERENCE

UICollectionViewCompositionalLayout

class · iOS 13.0+ · SDK 27.1

@MainActor class UICollectionViewCompositionalLayout

Members (5)

init · iOS 13.0+

init

TypeScript
static initSection(section: NSCollectionLayoutSection): Promise<UICollectionViewCompositionalLayout>
Swift declaration
init(section: NSCollectionLayoutSection)
init · iOS 13.0+

init

TypeScript
static initSectionConfiguration(section: NSCollectionLayoutSection, configuration: UICollectionViewCompositionalLayoutConfiguration): Promise<UICollectionViewCompositionalLayout>
Swift declaration
init(section: NSCollectionLayoutSection, configuration: UICollectionViewCompositionalLayoutConfiguration)
get · iOS 13.0+

configuration

TypeScript
get configuration(): Promise<UICollectionViewCompositionalLayoutConfiguration>
Swift declaration
@NSCopying var configuration: UICollectionViewCompositionalLayoutConfiguration { get set }
set · iOS 13.0+

configuration

TypeScript
setConfiguration(value: UICollectionViewCompositionalLayoutConfiguration): Promise<void>
Swift declaration
@NSCopying var configuration: UICollectionViewCompositionalLayoutConfiguration { get set }
static · iOS 14.0+

list

TypeScript
static list(configuration: UICollectionLayoutListConfiguration): Promise<UICollectionViewCompositionalLayout>
Swift declaration
@MainActor @preconcurrency static func list(using configuration: UICollectionLayoutListConfiguration) -> UICollectionViewCompositionalLayout

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UICollectionViewCompositionalLayout.init(sectionProvider:)

callback cannot propagate synchronous failure

UICollectionViewCompositionalLayout.init(sectionProvider:configuration:)

callback cannot propagate synchronous failure

UICollectionViewCompositionalLayout.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All UIKit types →