Add snippet for FetchedResultsController #32

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants

audungk commented Nov 20, 2013

No description provided.

Contributor

mattt commented Nov 21, 2013

Thanks for your PR, @audungk. I like the idea, but I thought the implementation could be simplified and generalized a bit. c8ac69e encapsulates my general flow of creating an NSFetchedResultsController and performing an initial fetch. One would put this in viewDidLoad or the like. Let me know what you think!

@mattt mattt closed this Nov 21, 2013

audungk commented Nov 21, 2013

Looks good! Thanks!

For projects with background fetching in CD, I usually go for my approach, with the FRC as a property together with the FRCDelegate paired up against my containerview. One could argue that it would be useful to create another snippet that encapsulates both variations, but that is mainly personal taste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment