Instance Property


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


weak var prefetchDataSource: UICollectionViewDataSourcePrefetching? { get set }


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

See Also

Prefetching Collection View Cells and Data

var isPrefetchingEnabled: Bool

Denotes whether cell and data prefetching are enabled.