Instance Property


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


weak var dataSource: UITableViewDataSource? { get set }


The data source must adopt the UITableViewDataSource protocol. The data source is not retained.

See Also

Providing the Table's Data and Cells

var prefetchDataSource: UITableViewDataSourcePrefetching?

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

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.