iOS TableView Prefetching DataSource using Swift

Apple has introduced API for prefetching UITableView and UICollectionViewin iOS 10. This is a short story of how to implement UITableViewDataSourcePrefetching protocol. Overview To implement prefetching, we confirmed UITableViewDataSourcePrefetchingprotocol to our view controller just like UITableViewDataSource and UITableViewDelegate. That enables table view’s data source to begin loading data for cells before tableView(_:cellForRowAt:) data source method is called. Getting Started Set view controller to table view prefetch … Continue reading iOS TableView Prefetching DataSource using Swift