[][src]Trait uikit_sys::IUICollectionView

pub trait IUICollectionView: Sized + Deref {
    unsafe fn initWithFrame_collectionViewLayout_(
        self,
        frame: CGRect,
        layout: UICollectionViewLayout
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerClass_forCellWithReuseIdentifier_(
        self,
        cellClass: Class,
        identifier: NSString
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerNib_forCellWithReuseIdentifier_(
        self,
        nib: UINib,
        identifier: NSString
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerClass_forSupplementaryViewOfKind_withReuseIdentifier_(
        self,
        viewClass: Class,
        elementKind: NSString,
        identifier: NSString
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerNib_forSupplementaryViewOfKind_withReuseIdentifier_(
        self,
        nib: UINib,
        kind: NSString,
        identifier: NSString
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dequeueReusableCellWithReuseIdentifier_forIndexPath_(
        self,
        identifier: NSString,
        indexPath: NSIndexPath
    ) -> UICollectionViewCell
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dequeueReusableSupplementaryViewOfKind_withReuseIdentifier_forIndexPath_(
        self,
        elementKind: NSString,
        identifier: NSString,
        indexPath: NSIndexPath
    ) -> UICollectionReusableView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn selectItemAtIndexPath_animated_scrollPosition_(
        self,
        indexPath: NSIndexPath,
        animated: BOOL,
        scrollPosition: UICollectionViewScrollPosition
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn deselectItemAtIndexPath_animated_(
        self,
        indexPath: NSIndexPath,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn reloadData(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCollectionViewLayout_animated_(
        self,
        layout: UICollectionViewLayout,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCollectionViewLayout_animated_completion_(
        self,
        layout: UICollectionViewLayout,
        animated: BOOL,
        completion: _bindgen_ty_id_160440
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn startInteractiveTransitionToCollectionViewLayout_completion_(
        self,
        layout: UICollectionViewLayout,
        completion: UICollectionViewLayoutInteractiveTransitionCompletion
    ) -> UICollectionViewTransitionLayout
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finishInteractiveTransition(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cancelInteractiveTransition(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn numberOfItemsInSection_(self, section: NSInteger) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutAttributesForItemAtIndexPath_(
        self,
        indexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutAttributesForSupplementaryElementOfKind_atIndexPath_(
        self,
        kind: NSString,
        indexPath: NSIndexPath
    ) -> UICollectionViewLayoutAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathForItemAtPoint_(self, point: CGPoint) -> NSIndexPath
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathForCell_(self, cell: UICollectionViewCell) -> NSIndexPath
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cellForItemAtIndexPath_(
        self,
        indexPath: NSIndexPath
    ) -> UICollectionViewCell
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn supplementaryViewForElementKind_atIndexPath_(
        self,
        elementKind: NSString,
        indexPath: NSIndexPath
    ) -> UICollectionReusableView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn visibleSupplementaryViewsOfKind_(
        self,
        elementKind: NSString
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsForVisibleSupplementaryElementsOfKind_(
        self,
        elementKind: NSString
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn scrollToItemAtIndexPath_atScrollPosition_animated_(
        self,
        indexPath: NSIndexPath,
        scrollPosition: UICollectionViewScrollPosition,
        animated: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn insertSections_(self, sections: NSIndexSet)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn deleteSections_(self, sections: NSIndexSet)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn reloadSections_(self, sections: NSIndexSet)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn moveSection_toSection_(
        self,
        section: NSInteger,
        newSection: NSInteger
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn insertItemsAtIndexPaths_(self, indexPaths: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn deleteItemsAtIndexPaths_(self, indexPaths: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn reloadItemsAtIndexPaths_(self, indexPaths: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn moveItemAtIndexPath_toIndexPath_(
        self,
        indexPath: NSIndexPath,
        newIndexPath: NSIndexPath
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn performBatchUpdates_completion_(
        self,
        updates: _bindgen_ty_id_160501,
        completion: _bindgen_ty_id_160505
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn beginInteractiveMovementForItemAtIndexPath_(
        self,
        indexPath: NSIndexPath
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn updateInteractiveMovementTargetPosition_(
        self,
        targetPosition: CGPoint
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn endInteractiveMovement(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cancelInteractiveMovement(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionViewLayout(self) -> UICollectionViewLayout
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCollectionViewLayout_(
        self,
        collectionViewLayout: UICollectionViewLayout
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn delegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDelegate_(self, delegate: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataSource(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDataSource_(self, dataSource: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn prefetchDataSource(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPrefetchDataSource_(self, prefetchDataSource: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isPrefetchingEnabled(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPrefetchingEnabled_(self, prefetchingEnabled: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dragDelegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDragDelegate_(self, dragDelegate: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dropDelegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDropDelegate_(self, dropDelegate: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dragInteractionEnabled(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDragInteractionEnabled_(self, dragInteractionEnabled: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn reorderingCadence(self) -> UICollectionViewReorderingCadence
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setReorderingCadence_(
        self,
        reorderingCadence: UICollectionViewReorderingCadence
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundView(self) -> UIView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundView_(self, backgroundView: UIView)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allowsSelection(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAllowsSelection_(self, allowsSelection: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allowsMultipleSelection(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAllowsMultipleSelection_(self, allowsMultipleSelection: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsForSelectedItems(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasUncommittedUpdates(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn numberOfSections(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn visibleCells(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathsForVisibleItems(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn remembersLastFocusedIndexPath(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setRemembersLastFocusedIndexPath_(
        self,
        remembersLastFocusedIndexPath: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasActiveDrag(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasActiveDrop(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithFrame_collectionViewLayout_(
    self,
    frame: CGRect,
    layout: UICollectionViewLayout
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
    Self::Target: Message + Sized

unsafe fn registerClass_forCellWithReuseIdentifier_(
    self,
    cellClass: Class,
    identifier: NSString
) where
    Self::Target: Message + Sized

unsafe fn registerNib_forCellWithReuseIdentifier_(
    self,
    nib: UINib,
    identifier: NSString
) where
    Self::Target: Message + Sized

unsafe fn registerClass_forSupplementaryViewOfKind_withReuseIdentifier_(
    self,
    viewClass: Class,
    elementKind: NSString,
    identifier: NSString
) where
    Self::Target: Message + Sized

unsafe fn registerNib_forSupplementaryViewOfKind_withReuseIdentifier_(
    self,
    nib: UINib,
    kind: NSString,
    identifier: NSString
) where
    Self::Target: Message + Sized

unsafe fn dequeueReusableCellWithReuseIdentifier_forIndexPath_(
    self,
    identifier: NSString,
    indexPath: NSIndexPath
) -> UICollectionViewCell where
    Self::Target: Message + Sized

unsafe fn dequeueReusableSupplementaryViewOfKind_withReuseIdentifier_forIndexPath_(
    self,
    elementKind: NSString,
    identifier: NSString,
    indexPath: NSIndexPath
) -> UICollectionReusableView where
    Self::Target: Message + Sized

unsafe fn selectItemAtIndexPath_animated_scrollPosition_(
    self,
    indexPath: NSIndexPath,
    animated: BOOL,
    scrollPosition: UICollectionViewScrollPosition
) where
    Self::Target: Message + Sized

unsafe fn deselectItemAtIndexPath_animated_(
    self,
    indexPath: NSIndexPath,
    animated: BOOL
) where
    Self::Target: Message + Sized

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

unsafe fn setCollectionViewLayout_animated_(
    self,
    layout: UICollectionViewLayout,
    animated: BOOL
) where
    Self::Target: Message + Sized

unsafe fn setCollectionViewLayout_animated_completion_(
    self,
    layout: UICollectionViewLayout,
    animated: BOOL,
    completion: _bindgen_ty_id_160440
) where
    Self::Target: Message + Sized

unsafe fn startInteractiveTransitionToCollectionViewLayout_completion_(
    self,
    layout: UICollectionViewLayout,
    completion: UICollectionViewLayoutInteractiveTransitionCompletion
) -> UICollectionViewTransitionLayout where
    Self::Target: Message + Sized

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

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

unsafe fn numberOfItemsInSection_(self, section: NSInteger) -> NSInteger where
    Self::Target: Message + Sized

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

unsafe fn layoutAttributesForSupplementaryElementOfKind_atIndexPath_(
    self,
    kind: NSString,
    indexPath: NSIndexPath
) -> UICollectionViewLayoutAttributes where
    Self::Target: Message + Sized

unsafe fn indexPathForItemAtPoint_(self, point: CGPoint) -> NSIndexPath where
    Self::Target: Message + Sized

unsafe fn indexPathForCell_(self, cell: UICollectionViewCell) -> NSIndexPath where
    Self::Target: Message + Sized

unsafe fn cellForItemAtIndexPath_(
    self,
    indexPath: NSIndexPath
) -> UICollectionViewCell where
    Self::Target: Message + Sized

unsafe fn supplementaryViewForElementKind_atIndexPath_(
    self,
    elementKind: NSString,
    indexPath: NSIndexPath
) -> UICollectionReusableView where
    Self::Target: Message + Sized

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

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

unsafe fn scrollToItemAtIndexPath_atScrollPosition_animated_(
    self,
    indexPath: NSIndexPath,
    scrollPosition: UICollectionViewScrollPosition,
    animated: BOOL
) where
    Self::Target: Message + Sized

unsafe fn insertSections_(self, sections: NSIndexSet) where
    Self::Target: Message + Sized

unsafe fn deleteSections_(self, sections: NSIndexSet) where
    Self::Target: Message + Sized

unsafe fn reloadSections_(self, sections: NSIndexSet) where
    Self::Target: Message + Sized

unsafe fn moveSection_toSection_(
    self,
    section: NSInteger,
    newSection: NSInteger
) where
    Self::Target: Message + Sized

unsafe fn insertItemsAtIndexPaths_(self, indexPaths: NSArray) where
    Self::Target: Message + Sized

unsafe fn deleteItemsAtIndexPaths_(self, indexPaths: NSArray) where
    Self::Target: Message + Sized

unsafe fn reloadItemsAtIndexPaths_(self, indexPaths: NSArray) where
    Self::Target: Message + Sized

unsafe fn moveItemAtIndexPath_toIndexPath_(
    self,
    indexPath: NSIndexPath,
    newIndexPath: NSIndexPath
) where
    Self::Target: Message + Sized

unsafe fn performBatchUpdates_completion_(
    self,
    updates: _bindgen_ty_id_160501,
    completion: _bindgen_ty_id_160505
) where
    Self::Target: Message + Sized

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

unsafe fn updateInteractiveMovementTargetPosition_(
    self,
    targetPosition: CGPoint
) where
    Self::Target: Message + Sized

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

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

unsafe fn collectionViewLayout(self) -> UICollectionViewLayout where
    Self::Target: Message + Sized

unsafe fn setCollectionViewLayout_(
    self,
    collectionViewLayout: UICollectionViewLayout
) where
    Self::Target: Message + Sized

unsafe fn delegate(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDelegate_(self, delegate: *mut u64) where
    Self::Target: Message + Sized

unsafe fn dataSource(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDataSource_(self, dataSource: *mut u64) where
    Self::Target: Message + Sized

unsafe fn prefetchDataSource(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setPrefetchDataSource_(self, prefetchDataSource: *mut u64) where
    Self::Target: Message + Sized

unsafe fn isPrefetchingEnabled(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setPrefetchingEnabled_(self, prefetchingEnabled: BOOL) where
    Self::Target: Message + Sized

unsafe fn dragDelegate(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDragDelegate_(self, dragDelegate: *mut u64) where
    Self::Target: Message + Sized

unsafe fn dropDelegate(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDropDelegate_(self, dropDelegate: *mut u64) where
    Self::Target: Message + Sized

unsafe fn dragInteractionEnabled(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setDragInteractionEnabled_(self, dragInteractionEnabled: BOOL) where
    Self::Target: Message + Sized

unsafe fn reorderingCadence(self) -> UICollectionViewReorderingCadence where
    Self::Target: Message + Sized

unsafe fn setReorderingCadence_(
    self,
    reorderingCadence: UICollectionViewReorderingCadence
) where
    Self::Target: Message + Sized

unsafe fn backgroundView(self) -> UIView where
    Self::Target: Message + Sized

unsafe fn setBackgroundView_(self, backgroundView: UIView) where
    Self::Target: Message + Sized

unsafe fn allowsSelection(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setAllowsSelection_(self, allowsSelection: BOOL) where
    Self::Target: Message + Sized

unsafe fn allowsMultipleSelection(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setAllowsMultipleSelection_(self, allowsMultipleSelection: BOOL) where
    Self::Target: Message + Sized

unsafe fn indexPathsForSelectedItems(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn hasUncommittedUpdates(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn numberOfSections(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn visibleCells(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn indexPathsForVisibleItems(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn remembersLastFocusedIndexPath(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setRemembersLastFocusedIndexPath_(
    self,
    remembersLastFocusedIndexPath: BOOL
) where
    Self::Target: Message + Sized

unsafe fn hasActiveDrag(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn hasActiveDrop(self) -> BOOL where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUICollectionView for UICollectionView[src]

Loading content...