pub unsafe trait UICollectionViewDataSourcePrefetching: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn collectionView_prefetchItemsAtIndexPaths(
&self,
collection_view: &UICollectionView,
index_paths: &NSArray<NSIndexPath>,
)
where Self: Sized + Message { ... }
unsafe fn collectionView_cancelPrefetchingForItemsAtIndexPaths(
&self,
collection_view: &UICollectionView,
index_paths: &NSArray<NSIndexPath>,
)
where Self: Sized + Message { ... }
}
Available on crate feature
UICollectionView
only.Expand description
Provided Methods§
unsafe fn collectionView_prefetchItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath>, )
Available on crate features
UIResponder
and UIScrollView
and UIView
only.unsafe fn collectionView_cancelPrefetchingForItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath>, )
Available on crate features
UIResponder
and UIScrollView
and UIView
only.