[][src]Trait uikit_sys::UICollectionViewLayout_UIReorderingSupportHooks

pub trait UICollectionViewLayout_UIReorderingSupportHooks: Sized + Deref {
    unsafe fn targetIndexPathForInteractivelyMovingItem_withPosition_(
        self,
        previousIndexPath: NSIndexPath,
        position: CGPoint
    ) -> NSIndexPath
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutAttributesForInteractivelyMovingItemAtIndexPath_withTargetPosition_(
        self,
        indexPath: NSIndexPath,
        position: CGPoint
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn invalidationContextForInteractivelyMovingItems_withTargetPosition_previousIndexPaths_previousPosition_(
        self,
        targetIndexPaths: NSArray,
        targetPosition: CGPoint,
        previousIndexPaths: NSArray,
        previousPosition: CGPoint
    ) -> UICollectionViewLayoutInvalidationContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn invalidationContextForEndingInteractiveMovementOfItemsToFinalIndexPaths_previousIndexPaths_movementCancelled_(
        self,
        indexPaths: NSArray,
        previousIndexPaths: NSArray,
        movementCancelled: BOOL
    ) -> UICollectionViewLayoutInvalidationContext
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn targetIndexPathForInteractivelyMovingItem_withPosition_(
    self,
    previousIndexPath: NSIndexPath,
    position: CGPoint
) -> NSIndexPath where
    Self::Target: Message + Sized

unsafe fn layoutAttributesForInteractivelyMovingItemAtIndexPath_withTargetPosition_(
    self,
    indexPath: NSIndexPath,
    position: CGPoint
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn invalidationContextForInteractivelyMovingItems_withTargetPosition_previousIndexPaths_previousPosition_(
    self,
    targetIndexPaths: NSArray,
    targetPosition: CGPoint,
    previousIndexPaths: NSArray,
    previousPosition: CGPoint
) -> UICollectionViewLayoutInvalidationContext where
    Self::Target: Message + Sized

unsafe fn invalidationContextForEndingInteractiveMovementOfItemsToFinalIndexPaths_previousIndexPaths_movementCancelled_(
    self,
    indexPaths: NSArray,
    previousIndexPaths: NSArray,
    movementCancelled: BOOL
) -> UICollectionViewLayoutInvalidationContext where
    Self::Target: Message + Sized

Loading content...

Implementors

impl UICollectionViewLayout_UIReorderingSupportHooks for UICollectionViewCompositionalLayout[src]

impl UICollectionViewLayout_UIReorderingSupportHooks for UICollectionViewFlowLayout[src]

impl UICollectionViewLayout_UIReorderingSupportHooks for UICollectionViewLayout[src]

impl UICollectionViewLayout_UIReorderingSupportHooks for UICollectionViewTransitionLayout[src]

Loading content...