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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With