I was using NSFetchedResultsController for core data .
And on implementing controllerWillChangeContent() method.
self.collectionView.beginUpdates()
shows error from Xcode 8 , swift 3 .
Any suggestion.
I was using NSFetchedResultsController for core data .
And on implementing controllerWillChangeContent() method.
self.collectionView.beginUpdates()
shows error from Xcode 8 , swift 3 .
Any suggestion.
beginUpdates is from UITableView. UICollectionView has the performBatchUpdates(_:completion:) method.
I suggest reviewing this answer for information on using NSFetchedResultsController and UICollectionView.