init
TypeScriptstatic initForCellWith(indexPath: _Foundation_IndexPath): Promise<UICollectionViewLayoutAttributes>Swift declarationconvenience init(forCellWith indexPath: IndexPath)class · iOS 6.0+ · SDK 27.1
@MainActor class UICollectionViewLayoutAttributesstatic initForCellWith(indexPath: _Foundation_IndexPath): Promise<UICollectionViewLayoutAttributes>Swift declarationconvenience init(forCellWith indexPath: IndexPath)static initForDecorationViewOfKindWith(decorationViewKind: string, indexPath: _Foundation_IndexPath): Promise<UICollectionViewLayoutAttributes>Swift declarationconvenience init(forDecorationViewOfKind decorationViewKind: String, with indexPath: IndexPath)static initForSupplementaryViewOfKindWith(elementKind: string, indexPath: _Foundation_IndexPath): Promise<UICollectionViewLayoutAttributes>Swift declarationconvenience init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath)get alpha(): Promise<number>Swift declarationvar alpha: CGFloat { get set }setAlpha(value: number): Promise<void>Swift declarationvar alpha: CGFloat { get set }get bounds(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar bounds: CGRect { get set }setBounds(value: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationvar bounds: CGRect { get set }get center(): Promise<{ x: number; y: number }>Swift declarationvar center: CGPoint { get set }setCenter(value: { x: number; y: number }): Promise<void>Swift declarationvar center: CGPoint { get set }get frame(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar frame: CGRect { get set }setFrame(value: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationvar frame: CGRect { get set }get isHidden(): Promise<boolean>Swift declarationvar isHidden: Bool { get set }setIsHidden(value: boolean): Promise<void>Swift declarationvar isHidden: Bool { get set }get indexPath(): Promise<_Foundation_IndexPath>Swift declarationvar indexPath: IndexPath { get set }setIndexPath(value: _Foundation_IndexPath): Promise<void>Swift declarationvar indexPath: IndexPath { get set }get representedElementCategory(): Promise<UICollectionView_ElementCategory>Swift declarationvar representedElementCategory: UICollectionView.ElementCategory { get }get representedElementKind(): Promise<(string) | null>Swift declarationvar representedElementKind: String? { get }get size(): Promise<{ width: number; height: number }>Swift declarationvar size: CGSize { get set }setSize(value: { width: number; height: number }): Promise<void>Swift declarationvar size: CGSize { get set }get transform3D(): Promise<_QuartzCore_CATransform3D>Swift declarationvar transform3D: CATransform3D { get set }setTransform3D(value: _QuartzCore_CATransform3D): Promise<void>Swift declarationvar transform3D: CATransform3D { get set }get transform(): Promise<_CoreFoundation_CGAffineTransform>Swift declarationvar transform: CGAffineTransform { get set }setTransform(value: _CoreFoundation_CGAffineTransform): Promise<void>Swift declarationvar transform: CGAffineTransform { get set }get zIndex(): Promise<number>Swift declarationvar zIndex: Int { get set }setZIndex(value: number): Promise<void>Swift declarationvar zIndex: Int { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UICollectionViewLayoutAttributes.init()
inherited init: cannot prove legal (class declares 6 custom initializers)