[][src]Trait uikit_sys::UICollectionViewLayout_UIUpdateSupportHooks

pub trait UICollectionViewLayout_UIUpdateSupportHooks: Sized + Deref {
    unsafe fn prepareForCollectionViewUpdates_(self, updateItems: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finalizeCollectionViewUpdates(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn prepareForAnimatedBoundsChange_(self, oldBounds: CGRect)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finalizeAnimatedBoundsChange(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn prepareForTransitionToLayout_(
        self,
        newLayout: UICollectionViewLayout
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn prepareForTransitionFromLayout_(
        self,
        oldLayout: UICollectionViewLayout
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finalizeLayoutTransition(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initialLayoutAttributesForAppearingItemAtIndexPath_(
        self,
        itemIndexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finalLayoutAttributesForDisappearingItemAtIndexPath_(
        self,
        itemIndexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initialLayoutAttributesForAppearingSupplementaryElementOfKind_atIndexPath_(
        self,
        elementKind: NSString,
        elementIndexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finalLayoutAttributesForDisappearingSupplementaryElementOfKind_atIndexPath_(
        self,
        elementKind: NSString,
        elementIndexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initialLayoutAttributesForAppearingDecorationElementOfKind_atIndexPath_(
        self,
        elementKind: NSString,
        decorationIndexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finalLayoutAttributesForDisappearingDecorationElementOfKind_atIndexPath_(
        self,
        elementKind: NSString,
        decorationIndexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsToDeleteForSupplementaryViewOfKind_(
        self,
        elementKind: NSString
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsToDeleteForDecorationViewOfKind_(
        self,
        elementKind: NSString
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsToInsertForSupplementaryViewOfKind_(
        self,
        elementKind: NSString
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsToInsertForDecorationViewOfKind_(
        self,
        elementKind: NSString
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn prepareForCollectionViewUpdates_(self, updateItems: NSArray) where
    Self::Target: Message + Sized

unsafe fn finalizeCollectionViewUpdates(self) where
    Self::Target: Message + Sized

unsafe fn prepareForAnimatedBoundsChange_(self, oldBounds: CGRect) where
    Self::Target: Message + Sized

unsafe fn finalizeAnimatedBoundsChange(self) where
    Self::Target: Message + Sized

unsafe fn prepareForTransitionToLayout_(self, newLayout: UICollectionViewLayout) where
    Self::Target: Message + Sized

unsafe fn prepareForTransitionFromLayout_(
    self,
    oldLayout: UICollectionViewLayout
) where
    Self::Target: Message + Sized

unsafe fn finalizeLayoutTransition(self) where
    Self::Target: Message + Sized

unsafe fn initialLayoutAttributesForAppearingItemAtIndexPath_(
    self,
    itemIndexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn finalLayoutAttributesForDisappearingItemAtIndexPath_(
    self,
    itemIndexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn initialLayoutAttributesForAppearingSupplementaryElementOfKind_atIndexPath_(
    self,
    elementKind: NSString,
    elementIndexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn finalLayoutAttributesForDisappearingSupplementaryElementOfKind_atIndexPath_(
    self,
    elementKind: NSString,
    elementIndexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn initialLayoutAttributesForAppearingDecorationElementOfKind_atIndexPath_(
    self,
    elementKind: NSString,
    decorationIndexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn finalLayoutAttributesForDisappearingDecorationElementOfKind_atIndexPath_(
    self,
    elementKind: NSString,
    decorationIndexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn indexPathsToDeleteForSupplementaryViewOfKind_(
    self,
    elementKind: NSString
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn indexPathsToDeleteForDecorationViewOfKind_(
    self,
    elementKind: NSString
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn indexPathsToInsertForSupplementaryViewOfKind_(
    self,
    elementKind: NSString
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn indexPathsToInsertForDecorationViewOfKind_(
    self,
    elementKind: NSString
) -> NSArray where
    Self::Target: Message + Sized

Loading content...

Implementors

impl UICollectionViewLayout_UIUpdateSupportHooks for UICollectionViewCompositionalLayout[src]

impl UICollectionViewLayout_UIUpdateSupportHooks for UICollectionViewFlowLayout[src]

impl UICollectionViewLayout_UIUpdateSupportHooks for UICollectionViewLayout[src]

impl UICollectionViewLayout_UIUpdateSupportHooks for UICollectionViewTransitionLayout[src]

Loading content...