I have a table view linked to a NSFetchedResultController
(i.e. loading data and also tracking changes to data is bound to the FRC)
I\'m not using Auto
In swift am using this and it decreases the flickering
let visibleIndexs = self.ContentTableview.indexPathsForVisibleRows! as NSArray
print(visibleIndexs)
for indx in visibleIndexs {
if self.imgDownloadedIndexs!.containsObject(indx) {
UIView.setAnimationsEnabled(false)
self.ContentTableview.beginUpdates()
self.ContentTableview.reloadRowsAtIndexPaths([indx as! NSIndexPath], withRowAnimation:.None)
self.ContentTableview.endUpdates()
UIView.setAnimationsEnabled(true)
self.imgDownloadedIndexs?.removeObject(indx)
}