Package apple.uikit.protocol
Interface UICollectionViewDataSourcePrefetching
-
public interface UICollectionViewDataSourcePrefetching
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcollectionViewCancelPrefetchingForItemsAtIndexPaths(UICollectionView collectionView, NSArray<? extends NSIndexPath> indexPaths)indexPaths that previously were considered as candidates for pre-fetching, but were not actually used; may be a subset of the previous call to -collectionView:prefetchItemsAtIndexPaths:voidcollectionViewPrefetchItemsAtIndexPaths(UICollectionView collectionView, NSArray<? extends NSIndexPath> indexPaths)indexPaths are ordered ascending by geometric distance from the collection view
-
-
-
Method Detail
-
collectionViewCancelPrefetchingForItemsAtIndexPaths
default void collectionViewCancelPrefetchingForItemsAtIndexPaths(UICollectionView collectionView, NSArray<? extends NSIndexPath> indexPaths)
indexPaths that previously were considered as candidates for pre-fetching, but were not actually used; may be a subset of the previous call to -collectionView:prefetchItemsAtIndexPaths:
-
collectionViewPrefetchItemsAtIndexPaths
void collectionViewPrefetchItemsAtIndexPaths(UICollectionView collectionView, NSArray<? extends NSIndexPath> indexPaths)
indexPaths are ordered ascending by geometric distance from the collection view
-
-