TSM - Core Data – Under the hood
Zoltan Pap-David
- Software Engineer
Core Data is an object graph and persistence framework provided by Apple. Is a relatively small but very robust framework, it provides solutions for many general problems and fits perfectly with Cocoa and other API provided by Apple. (In the MVC pattern Core Data takes the place of the Model). Core Data API or stack, can be decomposed to the following three components: Persistent Store Coordinator
(NSPersistentStoreCoordinator), Managed Object Model (NSManagedObjectModel) and Managed Object Context(NSManagedObjectContext). All these three parts are working together to allow storing/retrieving Managed Objects (NSManagedObject).