Chapter 5. Using NSFetchedResultsController

In Chapter 4, “Basic Storing and Fetching,” you saw how to fetch objects from the persistent store using an instance of NSFetchRequest. You created an application that displayed fetched objects in a table view; each time a new object was added, the fetch request was executed again in order to refresh the values to display. This is clearly not an efficient way to display large numbers of objects—having to re-fetch the data and refresh the entire table view any time information is changed could cause ...

Get Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.