Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Core Data on iOS works closely with table views. The NSFetchedResultsController class includes features that simplify the integration of Core Data objects with table data sources. As you can see in the following list, many of the fetched results class’s properties and methods are designed from the ground up for table support:
• Index path access—The fetched results class offers object-index path integration in two directions. You can recover objects from a fetched object array using index paths by calling objectAtIndexPath:. You can query for the index path associated with a fetched object by calling indexPathForObject:. These two methods work with both sectioned tables and those tables that are flat—that is, that only use a single section for all their data.