[][src]Trait uikit_sys::PUICollectionViewDelegate

pub trait PUICollectionViewDelegate: Sized + Deref {
    unsafe fn collectionView_shouldHighlightItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didHighlightItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didUnhighlightItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_shouldSelectItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_shouldDeselectItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didSelectItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didDeselectItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_willDisplayCell_forItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        cell: UICollectionViewCell,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_(
        self,
        collectionView: UICollectionView,
        view: UICollectionReusableView,
        elementKind: NSString,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didEndDisplayingCell_forItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        cell: UICollectionViewCell,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didEndDisplayingSupplementaryView_forElementOfKind_atIndexPath_(
        self,
        collectionView: UICollectionView,
        view: UICollectionReusableView,
        elementKind: NSString,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_shouldShowMenuForItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_canPerformAction_forItemAtIndexPath_withSender_(
        self,
        collectionView: UICollectionView,
        action: Sel,
        indexPath: NSIndexPath,
        sender: id
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_performAction_forItemAtIndexPath_withSender_(
        self,
        collectionView: UICollectionView,
        action: Sel,
        indexPath: NSIndexPath,
        sender: id
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_transitionLayoutForOldLayout_newLayout_(
        self,
        collectionView: UICollectionView,
        fromLayout: UICollectionViewLayout,
        toLayout: UICollectionViewLayout
    ) -> UICollectionViewTransitionLayout
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_canFocusItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_shouldUpdateFocusInContext_(
        self,
        collectionView: UICollectionView,
        context: UICollectionViewFocusUpdateContext
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didUpdateFocusInContext_withAnimationCoordinator_(
        self,
        collectionView: UICollectionView,
        context: UICollectionViewFocusUpdateContext,
        coordinator: UIFocusAnimationCoordinator
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathForPreferredFocusedViewInCollectionView_(
        self,
        collectionView: UICollectionView
    ) -> NSIndexPath
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_targetIndexPathForMoveFromItemAtIndexPath_toProposedIndexPath_(
        self,
        collectionView: UICollectionView,
        originalIndexPath: NSIndexPath,
        proposedIndexPath: NSIndexPath
    ) -> NSIndexPath
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_targetContentOffsetForProposedContentOffset_(
        self,
        collectionView: UICollectionView,
        proposedContentOffset: CGPoint
    ) -> CGPoint
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_shouldSpringLoadItemAtIndexPath_withContext_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath,
        context: *mut u64
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_shouldBeginMultipleSelectionInteractionAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_didBeginMultipleSelectionInteractionAtIndexPath_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionViewDidEndMultipleSelectionInteraction_(
        self,
        collectionView: UICollectionView
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_contextMenuConfigurationForItemAtIndexPath_point_(
        self,
        collectionView: UICollectionView,
        indexPath: NSIndexPath,
        point: CGPoint
    ) -> UIContextMenuConfiguration
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_previewForHighlightingContextMenuWithConfiguration_(
        self,
        collectionView: UICollectionView,
        configuration: UIContextMenuConfiguration
    ) -> UITargetedPreview
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_previewForDismissingContextMenuWithConfiguration_(
        self,
        collectionView: UICollectionView,
        configuration: UIContextMenuConfiguration
    ) -> UITargetedPreview
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_willPerformPreviewActionForMenuWithConfiguration_animator_(
        self,
        collectionView: UICollectionView,
        configuration: UIContextMenuConfiguration,
        animator: *mut u64
    )
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn collectionView_shouldHighlightItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_didHighlightItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_didUnhighlightItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_shouldSelectItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_shouldDeselectItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_didSelectItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_didDeselectItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_willDisplayCell_forItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    cell: UICollectionViewCell,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_(
    self,
    collectionView: UICollectionView,
    view: UICollectionReusableView,
    elementKind: NSString,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_didEndDisplayingCell_forItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    cell: UICollectionViewCell,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_didEndDisplayingSupplementaryView_forElementOfKind_atIndexPath_(
    self,
    collectionView: UICollectionView,
    view: UICollectionReusableView,
    elementKind: NSString,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionView_shouldShowMenuForItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_canPerformAction_forItemAtIndexPath_withSender_(
    self,
    collectionView: UICollectionView,
    action: Sel,
    indexPath: NSIndexPath,
    sender: id
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_performAction_forItemAtIndexPath_withSender_(
    self,
    collectionView: UICollectionView,
    action: Sel,
    indexPath: NSIndexPath,
    sender: id
) where
    Self::Target: Message + Sized

unsafe fn collectionView_transitionLayoutForOldLayout_newLayout_(
    self,
    collectionView: UICollectionView,
    fromLayout: UICollectionViewLayout,
    toLayout: UICollectionViewLayout
) -> UICollectionViewTransitionLayout where
    Self::Target: Message + Sized

unsafe fn collectionView_canFocusItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_shouldUpdateFocusInContext_(
    self,
    collectionView: UICollectionView,
    context: UICollectionViewFocusUpdateContext
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_didUpdateFocusInContext_withAnimationCoordinator_(
    self,
    collectionView: UICollectionView,
    context: UICollectionViewFocusUpdateContext,
    coordinator: UIFocusAnimationCoordinator
) where
    Self::Target: Message + Sized

unsafe fn indexPathForPreferredFocusedViewInCollectionView_(
    self,
    collectionView: UICollectionView
) -> NSIndexPath where
    Self::Target: Message + Sized

unsafe fn collectionView_targetIndexPathForMoveFromItemAtIndexPath_toProposedIndexPath_(
    self,
    collectionView: UICollectionView,
    originalIndexPath: NSIndexPath,
    proposedIndexPath: NSIndexPath
) -> NSIndexPath where
    Self::Target: Message + Sized

unsafe fn collectionView_targetContentOffsetForProposedContentOffset_(
    self,
    collectionView: UICollectionView,
    proposedContentOffset: CGPoint
) -> CGPoint where
    Self::Target: Message + Sized

unsafe fn collectionView_shouldSpringLoadItemAtIndexPath_withContext_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath,
    context: *mut u64
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_shouldBeginMultipleSelectionInteractionAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn collectionView_didBeginMultipleSelectionInteractionAtIndexPath_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn collectionViewDidEndMultipleSelectionInteraction_(
    self,
    collectionView: UICollectionView
) where
    Self::Target: Message + Sized

unsafe fn collectionView_contextMenuConfigurationForItemAtIndexPath_point_(
    self,
    collectionView: UICollectionView,
    indexPath: NSIndexPath,
    point: CGPoint
) -> UIContextMenuConfiguration where
    Self::Target: Message + Sized

unsafe fn collectionView_previewForHighlightingContextMenuWithConfiguration_(
    self,
    collectionView: UICollectionView,
    configuration: UIContextMenuConfiguration
) -> UITargetedPreview where
    Self::Target: Message + Sized

unsafe fn collectionView_previewForDismissingContextMenuWithConfiguration_(
    self,
    collectionView: UICollectionView,
    configuration: UIContextMenuConfiguration
) -> UITargetedPreview where
    Self::Target: Message + Sized

unsafe fn collectionView_willPerformPreviewActionForMenuWithConfiguration_animator_(
    self,
    collectionView: UICollectionView,
    configuration: UIContextMenuConfiguration,
    animator: *mut u64
) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl PUICollectionViewDelegate for UICollectionViewController[src]

Loading content...