UICollectionView with NSFetchedResultsController; compatible?

  • I just finished watching Marcus Zarra's NSFetchedResultsController presentation from iDeveloper.tv .  At about 25 minutes into the presentation, Marcus says the NSFetchedResultsController only works well with table-view controllers.  I had planned to use it with a collection-view, which is why I reviewed the presentation in the first place.

    What I'm looking for is more information on why it is not a good idea to mix these two classes.  What are the issues or pitfalls, in combining the two?

    I did find think link to a project on GitHub where the author points out that:

    > The trick is to queue the updates made through the NSFetchedResultsControllerDelegate until the controller finishes its updates. UICollectionView doesn't have the same beginUpdates and endUpdates that UITableView has to let it work easily with NSFetchedResultsController, so you have to queue them or you get internal consistency runtime exceptions.

    Is this the only issue or are there other reasons to avoid combining these two types of controllers?

previous month june 2013 next month
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today