[−][src]Trait uikit_sys::UICollectionViewLayout_UISubclassingHooks
Provided methods
unsafe fn prepareLayout(self) where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn layoutAttributesForElementsInRect_(self, rect: CGRect) -> NSArray where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn layoutAttributesForItemAtIndexPath_(
self,
indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
Self::Target: Message + Sized,
self,
indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
Self::Target: Message + Sized,
unsafe fn layoutAttributesForSupplementaryViewOfKind_atIndexPath_(
self,
elementKind: NSString,
indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
Self::Target: Message + Sized,
self,
elementKind: NSString,
indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
Self::Target: Message + Sized,
unsafe fn layoutAttributesForDecorationViewOfKind_atIndexPath_(
self,
elementKind: NSString,
indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
Self::Target: Message + Sized,
self,
elementKind: NSString,
indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
Self::Target: Message + Sized,
unsafe fn shouldInvalidateLayoutForBoundsChange_(
self,
newBounds: CGRect
) -> BOOL where
Self::Target: Message + Sized,
self,
newBounds: CGRect
) -> BOOL where
Self::Target: Message + Sized,
unsafe fn invalidationContextForBoundsChange_(
self,
newBounds: CGRect
) -> UICollectionViewLayoutInvalidationContext where
Self::Target: Message + Sized,
self,
newBounds: CGRect
) -> UICollectionViewLayoutInvalidationContext where
Self::Target: Message + Sized,
unsafe fn shouldInvalidateLayoutForPreferredLayoutAttributes_withOriginalAttributes_(
self,
preferredAttributes: UICollectionViewLayoutAttributes,
originalAttributes: UICollectionViewLayoutAttributes
) -> BOOL where
Self::Target: Message + Sized,
self,
preferredAttributes: UICollectionViewLayoutAttributes,
originalAttributes: UICollectionViewLayoutAttributes
) -> BOOL where
Self::Target: Message + Sized,
unsafe fn invalidationContextForPreferredLayoutAttributes_withOriginalAttributes_(
self,
preferredAttributes: UICollectionViewLayoutAttributes,
originalAttributes: UICollectionViewLayoutAttributes
) -> UICollectionViewLayoutInvalidationContext where
Self::Target: Message + Sized,
self,
preferredAttributes: UICollectionViewLayoutAttributes,
originalAttributes: UICollectionViewLayoutAttributes
) -> UICollectionViewLayoutInvalidationContext where
Self::Target: Message + Sized,
unsafe fn targetContentOffsetForProposedContentOffset_withScrollingVelocity_(
self,
proposedContentOffset: CGPoint,
velocity: CGPoint
) -> CGPoint where
Self::Target: Message + Sized,
self,
proposedContentOffset: CGPoint,
velocity: CGPoint
) -> CGPoint where
Self::Target: Message + Sized,
unsafe fn targetContentOffsetForProposedContentOffset_(
self,
proposedContentOffset: CGPoint
) -> CGPoint where
Self::Target: Message + Sized,
self,
proposedContentOffset: CGPoint
) -> CGPoint where
Self::Target: Message + Sized,
unsafe fn collectionViewContentSize(self) -> CGSize where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn developmentLayoutDirection(self) -> UIUserInterfaceLayoutDirection where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn flipsHorizontallyInOppositeLayoutDirection(self) -> BOOL where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn layoutAttributesClass() -> Class where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn invalidationContextClass() -> Class where
Self::Target: Message + Sized,
Self::Target: Message + Sized,