views:

22

answers:

1

First I thought I've grocked that thing: It's the data source for a UITableView. But then: It does not conform to that data source protocol. Strange! Why? How can it not?

+2  A: 

NSFetchedResultsController is not a data source. It's the intermediary between the data source and the UITableView. For example, it can notify the UITableView when its data source changes. This prevents coupling between the data source the UITableView, which would violate the MVC pattern.

jshier
So NSFetchedResultsController establishes the link to the Data Source?
dontWatchMyProfile
It doesn't establish the link, you do programatically. After the `NSFetchedResultsController` maintains the links, updating the view or data source when the other changes. Roughly.
jshier