Instructs your prefetch data source object to begin preparing data for the cells at the supplied index paths.
- iOS 10.0+
- tvOS 10.0+
The table view issuing the prefetch request.
The index paths that specify the locations of the items for which the data is to be prefetched. The index paths are sorted in ascending order based on their priority. The first index path corresponds to the row closest to the visibile area, and the last index path corresponds to the row furthest from the visible area.
The table view calls this method on the main dispatch queue as the user scrolls, providing the index paths for cells it is likely to display in the near future. Use your implementation of this method to start any expensive data loading operations. Always load your data asynchronously and forward the results to your table's data source object. Table views do not call this method for cells they require immediately, so your data source object must also be able to fetch the data itself.
For information about how to create an asynchronous data loading task, see Concurrency Programming Guide.