One Logo Pool Ball
UIKit · IOS API REFERENCE

NSCollectionLayoutBoundarySupplementaryItem

class · iOS 13.0+ · SDK 27.1

@MainActor class NSCollectionLayoutBoundarySupplementaryItem

Members (8)

init · iOS 13.0+

init

TypeScript
static initLayoutSizeElementKindAlignment(layoutSize: NSCollectionLayoutSize, elementKind: string, alignment: NSRectAlignment): Promise<NSCollectionLayoutBoundarySupplementaryItem>
Swift declaration
convenience init(layoutSize: NSCollectionLayoutSize, elementKind: String, alignment: NSRectAlignment)
init · iOS 13.0+

init

TypeScript
static initLayoutSizeElementKindAlignmentAbsoluteOffset(layoutSize: NSCollectionLayoutSize, elementKind: string, alignment: NSRectAlignment, absoluteOffset: { x: number; y: number }): Promise<NSCollectionLayoutBoundarySupplementaryItem>
Swift declaration
convenience init(layoutSize: NSCollectionLayoutSize, elementKind: String, alignment: NSRectAlignment, absoluteOffset: CGPoint)
get · iOS 13.0+

alignment

TypeScript
get alignment(): Promise<NSRectAlignment>
Swift declaration
var alignment: NSRectAlignment { get }
get · iOS 13.0+

extendsBoundary

TypeScript
get extendsBoundary(): Promise<boolean>
Swift declaration
var extendsBoundary: Bool { get set }
set · iOS 13.0+

extendsBoundary

TypeScript
setExtendsBoundary(value: boolean): Promise<void>
Swift declaration
var extendsBoundary: Bool { get set }
get · iOS 13.0+

offset

TypeScript
get offset(): Promise<{ x: number; y: number }>
Swift declaration
var offset: CGPoint { get }
get · iOS 13.0+

pinToVisibleBounds

TypeScript
get pinToVisibleBounds(): Promise<boolean>
Swift declaration
var pinToVisibleBounds: Bool { get set }
set · iOS 13.0+

pinToVisibleBounds

TypeScript
setPinToVisibleBounds(value: boolean): Promise<void>
Swift declaration
var pinToVisibleBounds: Bool { get set }

Skipped declarations

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

NSCollectionLayoutBoundarySupplementaryItem.init()

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

All UIKit types →