The Core Data framework provides solutions to tasks commonly associated with managing the life-cycle of objects in your application, including object persistence. In this lesson you will learn to use Core Data to implement simple object persistence in your applications.
Core Data is based on the Model-View-Controller pattern and essentially fits in at the model stage. Core Data introduces a few new concepts and terminology, which are discussed briefly in this section.
A managed object is a representation of the object that you want to save to the data store. This is conceptually similar to a record in SQL and typically contains fields that correspond to properties in the object you want to save.
The managed object context is akin to a buffer between your application and the data store. It contains all your managed objects before they are written to the data store. Inside this context you can add, delete, or modify managed objects. Most of the time, when you need to read, insert, or delete objects you will call methods on the managed object context.
The persistent store coordinator represents the connection to the data store and contains low-level information like the actual name and location of the data store to be used. This class is generally used by the managed object context.
This is a class that contains definitions for each of the managed ...