Interface UITableViewDataSourcePrefetching


  • public interface UITableViewDataSourcePrefetching
    _______________________________________________________________________________________________________________ this protocol can provide information about cells before they are displayed on screen.
    • Method Detail

      • tableViewCancelPrefetchingForRowsAtIndexPaths

        default void tableViewCancelPrefetchingForRowsAtIndexPaths​(UITableView tableView,
                                                                   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 -tableView:prefetchRowsAtIndexPaths:
      • tableViewPrefetchRowsAtIndexPaths

        void tableViewPrefetchRowsAtIndexPaths​(UITableView tableView,
                                               NSArray<? extends NSIndexPath> indexPaths)
        indexPaths are ordered ascending by geometric distance from the table view