Contents

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: (any 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 isn’t retained.

See Also

Providing the data and cells