Instance Property

prefetchDataSource

The object that acts as the prefetching data source for the table view, receiving notifications of upcoming cell data requirements.

Declaration

weak var prefetchDataSource: UITableViewDataSourcePrefetching? { get set }

Discussion

Assign an object that conforms to the UITableViewDataSourcePrefetching protocol to facilitate prefetching of data for cells to be displayed in the near future. To disable prefetching behavior, set this property to nil. This object is not retained.

See Also

Providing the Table's Data and Cells

var dataSource: UITableViewDataSource?

The object that acts as the data source of the table view.

protocol UITableViewDataSource

The methods adopted by the object you use to manage data and provide cells for a table view.

protocol UITableViewDataSourcePrefetching

A protocol that provides advance warning of the data requirements for a table view, allowing you to start potentially long-running data operations early.