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 table view calls this method as the user scrolls, providing the index paths for cells it is likely to display in the near future. Your implementation of this method is responsible for starting any expensive data loading processes. The data loading must be performed asynchronously, and the results made available to the
table method on the table view’s data source.The collection view does not call this method for cells it requires immediately, so your code must not rely on this method to load data. The order of the index paths provided represents the priority.For further information about creating an asynchronous data loading task, see Concurrency Programming Guide.