iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.1

Posted: 2009-07-01

Build Requirements: Xcode 3.1, iPhone OS 3.0 or later

Runtime Requirements: iPhone OS 3.0 or later

View Source Code:

Download Sample Code (“CoreDataBooks.zip”, 53.2K)



Description

This sample illustrates a number of aspects of working with the Core Data framework with an iPhone application:

* Use of an instance of NSFetchedResultsController object to manage a collection of objects to be displayed in a table view.

* Undo and redo.

* Database initialization.

* Use of a second managed object context to isolate changes during an add operation.

Document Revision History

Date Notes
2009-07-01Fixed a memory leak in EditingViewController.m.
Did this document help you? Yes It's good, but... Not helpful...