init
TypeScriptstatic init(group: NSCollectionLayoutGroup): Promise<NSCollectionLayoutSection>Swift declarationconvenience init(group: NSCollectionLayoutGroup)class · iOS 13.0+ · SDK 27.1
@MainActor class NSCollectionLayoutSectionstatic init(group: NSCollectionLayoutGroup): Promise<NSCollectionLayoutSection>Swift declarationconvenience init(group: NSCollectionLayoutGroup)get boundarySupplementaryItems(): Promise<Array<NSCollectionLayoutBoundarySupplementaryItem>>Swift declarationvar boundarySupplementaryItems: [NSCollectionLayoutBoundarySupplementaryItem] { get set }setBoundarySupplementaryItems(value: Array<NSCollectionLayoutBoundarySupplementaryItem>): Promise<void>Swift declarationvar boundarySupplementaryItems: [NSCollectionLayoutBoundarySupplementaryItem] { get set }get contentInsets(): Promise<{ top: number; leading: number; bottom: number; trailing: number }>Swift declarationvar contentInsets: NSDirectionalEdgeInsets { get set }setContentInsets(value: { top: number; leading: number; bottom: number; trailing: number }): Promise<void>Swift declarationvar contentInsets: NSDirectionalEdgeInsets { get set }get contentInsetsReference(): Promise<UIContentInsetsReference>Swift declarationvar contentInsetsReference: UIContentInsetsReference { get set }setContentInsetsReference(value: UIContentInsetsReference): Promise<void>Swift declarationvar contentInsetsReference: UIContentInsetsReference { get set }get decorationItems(): Promise<Array<NSCollectionLayoutDecorationItem>>Swift declarationvar decorationItems: [NSCollectionLayoutDecorationItem] { get set }setDecorationItems(value: Array<NSCollectionLayoutDecorationItem>): Promise<void>Swift declarationvar decorationItems: [NSCollectionLayoutDecorationItem] { get set }get interGroupSpacing(): Promise<number>Swift declarationvar interGroupSpacing: CGFloat { get set }setInterGroupSpacing(value: number): Promise<void>Swift declarationvar interGroupSpacing: CGFloat { get set }get orthogonalScrollingBehavior(): Promise<UICollectionLayoutSectionOrthogonalScrollingBehavior>Swift declarationvar orthogonalScrollingBehavior: UICollectionLayoutSectionOrthogonalScrollingBehavior { get set }setOrthogonalScrollingBehavior(value: UICollectionLayoutSectionOrthogonalScrollingBehavior): Promise<void>Swift declarationvar orthogonalScrollingBehavior: UICollectionLayoutSectionOrthogonalScrollingBehavior { get set }get orthogonalScrollingProperties(): Promise<UICollectionLayoutSectionOrthogonalScrollingProperties>Swift declarationvar orthogonalScrollingProperties: UICollectionLayoutSectionOrthogonalScrollingProperties { get }get supplementariesFollowContentInsets(): Promise<boolean>Swift declarationvar supplementariesFollowContentInsets: Bool { get set }setSupplementariesFollowContentInsets(value: boolean): Promise<void>Swift declarationvar supplementariesFollowContentInsets: Bool { get set }get supplementaryContentInsetsReference(): Promise<UIContentInsetsReference>Swift declarationvar supplementaryContentInsetsReference: UIContentInsetsReference { get set }setSupplementaryContentInsetsReference(value: UIContentInsetsReference): Promise<void>Swift declarationvar supplementaryContentInsetsReference: UIContentInsetsReference { get set }get visibleItemsInvalidationHandler(): Promise<(((arg0: Array<SDKHandle>, arg1: { x: number; y: number }, arg2: SDKHandle) => Promise<void>)) | null>Swift declarationvar visibleItemsInvalidationHandler: NSCollectionLayoutSectionVisibleItemsInvalidationHandler? { get set }setVisibleItemsInvalidationHandler(value?: (((arg0: Array<SDKHandle>, arg1: { x: number; y: number }, arg2: SDKHandle) => void)) | null): Promise<void>Swift declarationvar visibleItemsInvalidationHandler: NSCollectionLayoutSectionVisibleItemsInvalidationHandler? { get set }static list(configuration: UICollectionLayoutListConfiguration, layoutEnvironment: SDKHandle): Promise<NSCollectionLayoutSection>Swift declaration@MainActor @preconcurrency static func list(using configuration: UICollectionLayoutListConfiguration, layoutEnvironment: any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSCollectionLayoutSection.init()
inherited init: cannot prove legal (class declares 1 custom initializer)