How to Use NSFetchedResultsController with UICollectionView

If you’re looking for how to get around the NSInternalInconsistencyException runtime exception with UICollectionView, I have an example on GitHub detailing how to queue updates from the NSFetchedResultsControllerDelegate.

The problem is that the existing UITableView class uses beginUpdates and endUpdates to submit batches to the table view. UICollectionView has a new performBatchUpdates: method, which takes a block parameter to update the collection view. That’s pretty good, but it doesn’t work well with the existing paradigm for NSFetchedResultsController.


Please submit typo corrections on GitHub