[][src]Trait uikit_sys::IUICollectionViewDiffableDataSource

pub trait IUICollectionViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType>: Sized + Deref {
    unsafe fn initWithCollectionView_cellProvider_(
        self,
        collectionView: UICollectionView,
        cellProvider: UICollectionViewDiffableDataSourceCellProvider
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn snapshot(self) -> NSDiffableDataSourceSnapshot
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn applySnapshot_animatingDifferences_(
        self,
        snapshot: NSDiffableDataSourceSnapshot,
        animatingDifferences: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn applySnapshot_animatingDifferences_completion_(
        self,
        snapshot: NSDiffableDataSourceSnapshot,
        animatingDifferences: BOOL,
        completion: _bindgen_ty_id_162094
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn itemIdentifierForIndexPath_(self, indexPath: NSIndexPath) -> u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn indexPathForItemIdentifier_(self, identifier: u64) -> NSIndexPath
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn supplementaryViewProvider(
        self
    ) -> UICollectionViewDiffableDataSourceSupplementaryViewProvider
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSupplementaryViewProvider_(
        self,
        supplementaryViewProvider: UICollectionViewDiffableDataSourceSupplementaryViewProvider
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn new() -> instancetype
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithCollectionView_cellProvider_(
    self,
    collectionView: UICollectionView,
    cellProvider: UICollectionViewDiffableDataSourceCellProvider
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn snapshot(self) -> NSDiffableDataSourceSnapshot where
    Self::Target: Message + Sized

unsafe fn applySnapshot_animatingDifferences_(
    self,
    snapshot: NSDiffableDataSourceSnapshot,
    animatingDifferences: BOOL
) where
    Self::Target: Message + Sized

unsafe fn applySnapshot_animatingDifferences_completion_(
    self,
    snapshot: NSDiffableDataSourceSnapshot,
    animatingDifferences: BOOL,
    completion: _bindgen_ty_id_162094
) where
    Self::Target: Message + Sized

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

unsafe fn indexPathForItemIdentifier_(self, identifier: u64) -> NSIndexPath where
    Self::Target: Message + Sized

unsafe fn supplementaryViewProvider(
    self
) -> UICollectionViewDiffableDataSourceSupplementaryViewProvider where
    Self::Target: Message + Sized

unsafe fn setSupplementaryViewProvider_(
    self,
    supplementaryViewProvider: UICollectionViewDiffableDataSourceSupplementaryViewProvider
) where
    Self::Target: Message + Sized

unsafe fn new() -> instancetype where
    Self::Target: Message + Sized

Loading content...

Implementors

impl<SectionIdentifierType: 'static, ItemIdentifierType: 'static> IUICollectionViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> for UICollectionViewDiffableDataSource[src]

Loading content...