-core data intro
-core data architecture
-create a model, managed objects, and begin our own app
core data
Model(managed objects), View, Controller
Object Model
(aka “managed Object Model”)
-specifies app classes and relationships
Managed Object
-class:NSManagedObject
-example:a character of a game app
-saves the contents of its properties to a DB file
Context
-class:NSManagedObject+Context
-imagine as a place
-where objects live and where operations take place
Fetch request
-searches context for certain managed objects
Fetched Results Controller
-part of controller layer
-controls how data from a fetch request is displayed in a view
Stores
-where managed objects are stored
Store coordinator
-allow you to have multiple stores