Core Data Utility

Last Revision:
Version 1.0, 2012-04-04
Contains complete source code to the Core Data Utility Tutorial.
Build Requirements:
Xcode 4.4 or later, OS X v10.8 or later
Runtime Requirements:
OS X v10.8 or later

This sample contains the complete source code to the Core Data Utility Tutorial.

The sample illustrates how you can create a command-line utility that uses Core Data. It shows how to perform basic tasks required in a Core Data application: * Creation of a Core Data stack -- a persistent store, a persistent store coordinator (including the managed object model), and a managed object context. * Creation and initialization of a managed object. * Committing changes to the store by saving a context. * Creating a fetch request and retrieving managed objects.