---
title: prefetchDataSource
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitableview/prefetchdatasource
---

# prefetchDataSource

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

## Declaration

```swift
weak var prefetchDataSource: (any UITableViewDataSourcePrefetching)? { get set }
```

## Discussion

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

- [dataSource](uikit/uitableview/datasource.md)
- [isPrefetchingEnabled](uikit/uitableview/isprefetchingenabled.md)
- [UITableViewDataSource](uikit/uitableviewdatasource.md)
- [UITableViewDataSourcePrefetching](uikit/uitableviewdatasourceprefetching.md)
