invalidationContextClass
TypeScriptstatic get invalidationContextClass(): Promise<string>Swift declarationclass var invalidationContextClass: AnyClass { get }class · iOS 6.0+ · SDK 27.1
@MainActor class UICollectionViewLayoutstatic get invalidationContextClass(): Promise<string>Swift declarationclass var invalidationContextClass: AnyClass { get }static get layoutAttributesClass(): Promise<string>Swift declarationclass var layoutAttributesClass: AnyClass { get }finalLayoutAttributesForDisappearingDecorationElement(elementKind: string, decorationIndexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?finalLayoutAttributesForDisappearingItem(itemIndexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?finalLayoutAttributesForDisappearingSupplementaryElement(elementKind: string, elementIndexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?finalizeAnimatedBoundsChange(): Promise<void>Swift declarationfunc finalizeAnimatedBoundsChange()finalizeCollectionViewUpdates(): Promise<void>Swift declarationfunc finalizeCollectionViewUpdates()finalizeLayoutTransition(): Promise<void>Swift declarationfunc finalizeLayoutTransition()indexPathsToDeleteForDecorationView(elementKind: string): Promise<Array<_Foundation_IndexPath>>Swift declarationfunc indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> [IndexPath]indexPathsToDeleteForSupplementaryView(elementKind: string): Promise<Array<_Foundation_IndexPath>>Swift declarationfunc indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> [IndexPath]indexPathsToInsertForDecorationView(elementKind: string): Promise<Array<_Foundation_IndexPath>>Swift declarationfunc indexPathsToInsertForDecorationView(ofKind elementKind: String) -> [IndexPath]indexPathsToInsertForSupplementaryView(elementKind: string): Promise<Array<_Foundation_IndexPath>>Swift declarationfunc indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> [IndexPath]static init(): Promise<UICollectionViewLayout>Swift declarationinit()static initCoder(coder: _Foundation_NSCoder): Promise<(UICollectionViewLayout) | null>Swift declarationinit?(coder: NSCoder)initialLayoutAttributesForAppearingDecorationElement(elementKind: string, decorationIndexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?initialLayoutAttributesForAppearingItem(itemIndexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?initialLayoutAttributesForAppearingSupplementaryElement(elementKind: string, elementIndexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?invalidateLayout(): Promise<void>Swift declarationfunc invalidateLayout()invalidateLayoutWith(context: UICollectionViewLayoutInvalidationContext): Promise<void>Swift declarationfunc invalidateLayout(with context: UICollectionViewLayoutInvalidationContext)invalidationContextForBoundsChange(newBounds: { x: number; y: number; width: number; height: number }): Promise<UICollectionViewLayoutInvalidationContext>Swift declarationfunc invalidationContext(forBoundsChange newBounds: CGRect) -> UICollectionViewLayoutInvalidationContextinvalidationContextForEndingInteractiveMovementOfItems(indexPaths: Array<_Foundation_IndexPath>, previousIndexPaths: Array<_Foundation_IndexPath>, movementCancelled: boolean): Promise<UICollectionViewLayoutInvalidationContext>Swift declarationfunc invalidationContextForEndingInteractiveMovementOfItems(toFinalIndexPaths indexPaths: [IndexPath], previousIndexPaths: [IndexPath], movementCancelled: Bool) -> UICollectionViewLayoutInvalidationContextinvalidationContextForInteractivelyMovingItemsWithTargetPositionPreviousIndexPathsPreviousPosition(targetIndexPaths: Array<_Foundation_IndexPath>, targetPosition: { x: number; y: number }, previousIndexPaths: Array<_Foundation_IndexPath>, previousPosition: { x: number; y: number }): Promise<UICollectionViewLayoutInvalidationContext>Swift declarationfunc invalidationContext(forInteractivelyMovingItems targetIndexPaths: [IndexPath], withTargetPosition targetPosition: CGPoint, previousIndexPaths: [IndexPath], previousPosition: CGPoint) -> UICollectionViewLayoutInvalidationContextinvalidationContextForPreferredLayoutAttributesWithOriginalAttributes(preferredAttributes: UICollectionViewLayoutAttributes, originalAttributes: UICollectionViewLayoutAttributes): Promise<UICollectionViewLayoutInvalidationContext>Swift declarationfunc invalidationContext(forPreferredLayoutAttributes preferredAttributes: UICollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutInvalidationContextlayoutAttributesForDecorationView(elementKind: string, indexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> UICollectionViewLayoutAttributes?layoutAttributesForElements(rect: { x: number; y: number; width: number; height: number }): Promise<(Array<UICollectionViewLayoutAttributes>) | null>Swift declarationfunc layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]?layoutAttributesForInteractivelyMovingItem(indexPath: _Foundation_IndexPath, position: { x: number; y: number }): Promise<UICollectionViewLayoutAttributes>Swift declarationfunc layoutAttributesForInteractivelyMovingItem(at indexPath: IndexPath, withTargetPosition position: CGPoint) -> UICollectionViewLayoutAttributeslayoutAttributesForItem(indexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes?layoutAttributesForSupplementaryView(elementKind: string, indexPath: _Foundation_IndexPath): Promise<(UICollectionViewLayoutAttributes) | null>Swift declarationfunc layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> UICollectionViewLayoutAttributes?prepareForAnimatedBoundsChange(oldBounds: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc prepare(forAnimatedBoundsChange oldBounds: CGRect)prepareForCollectionViewUpdates(updateItems: Array<UICollectionViewUpdateItem>): Promise<void>Swift declarationfunc prepare(forCollectionViewUpdates updateItems: [UICollectionViewUpdateItem])prepareForTransitionFrom(oldLayout: UICollectionViewLayout): Promise<void>Swift declarationfunc prepareForTransition(from oldLayout: UICollectionViewLayout)prepareForTransitionTo(newLayout: UICollectionViewLayout): Promise<void>Swift declarationfunc prepareForTransition(to newLayout: UICollectionViewLayout)prepare(): Promise<void>Swift declarationfunc prepare()registerForDecorationViewOfKind(viewClass: (string) | null, elementKind: string): Promise<void>Swift declarationfunc register(_ viewClass: AnyClass?, forDecorationViewOfKind elementKind: String)registerForDecorationViewOfKind4172(nib: (UINib) | null, elementKind: string): Promise<void>Swift declarationfunc register(_ nib: UINib?, forDecorationViewOfKind elementKind: String)shouldInvalidateLayoutForBoundsChange(newBounds: { x: number; y: number; width: number; height: number }): Promise<boolean>Swift declarationfunc shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> BoolshouldInvalidateLayoutForPreferredLayoutAttributesWithOriginalAttributes(preferredAttributes: UICollectionViewLayoutAttributes, originalAttributes: UICollectionViewLayoutAttributes): Promise<boolean>Swift declarationfunc shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: UICollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: UICollectionViewLayoutAttributes) -> BooltargetContentOffsetForProposedContentOffset(proposedContentOffset: { x: number; y: number }): Promise<{ x: number; y: number }>Swift declarationfunc targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint) -> CGPointtargetContentOffsetForProposedContentOffsetWithScrollingVelocity(proposedContentOffset: { x: number; y: number }, velocity: { x: number; y: number }): Promise<{ x: number; y: number }>Swift declarationfunc targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPointtargetIndexPath(previousIndexPath: _Foundation_IndexPath, position: { x: number; y: number }): Promise<_Foundation_IndexPath>Swift declarationfunc targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath, withPosition position: CGPoint) -> IndexPathget collectionView(): Promise<(UICollectionView) | null>Swift declarationvar collectionView: UICollectionView? { get }get collectionViewContentSize(): Promise<{ width: number; height: number }>Swift declarationvar collectionViewContentSize: CGSize { get }get developmentLayoutDirection(): Promise<UIUserInterfaceLayoutDirection>Swift declarationvar developmentLayoutDirection: UIUserInterfaceLayoutDirection { get }get flipsHorizontallyInOppositeLayoutDirection(): Promise<boolean>Swift declarationvar flipsHorizontallyInOppositeLayoutDirection: Bool { get }No declarations were skipped in this snapshot.