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?
views:
22answers:
1
+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
2010-06-02 20:01:13
So NSFetchedResultsController establishes the link to the Data Source?
dontWatchMyProfile
2010-06-03 14:18:34
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
2010-06-03 14:49:05