Instance Property

prefetchingEnabled

Denotes whether cell and data prefetching are enabled.

Declaration

@property(nonatomic, getter=isPrefetchingEnabled) BOOL prefetchingEnabled;

Discussion

When YES, the collection view requests cells in advance of when they will be displayed, spreading the rendering over multiple layout passes. When NO, the cells are requested as they are needed for display, often with multiple cells being requested in the same render loop. Setting this property to NO also disables data prefetching. The default value of this property is YES.

See Also

Prefetching Collection View Cells and Data

prefetchDataSource

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