Interface UICollectionViewDataSourcePrefetching


  • public interface UICollectionViewDataSourcePrefetching
    • Method Detail

      • collectionViewCancelPrefetchingForItemsAtIndexPaths

        default void collectionViewCancelPrefetchingForItemsAtIndexPaths​(@NotNull
                                                                         @NotNull UICollectionView collectionView,
                                                                         @NotNull
                                                                         @NotNull 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: API-Since: 10.0
      • collectionViewPrefetchItemsAtIndexPaths

        void collectionViewPrefetchItemsAtIndexPaths​(@NotNull
                                                     @NotNull UICollectionView collectionView,
                                                     @NotNull
                                                     @NotNull NSArray<? extends NSIndexPath> indexPaths)
        indexPaths are ordered ascending by geometric distance from the collection view API-Since: 10.0