Order the steps
Order the layers from your code down to the disk.
- NSManagedObject
- NSPersistentStoreCoordinator
- NSPersistentStore (SQLite)
- NSManagedObjectContext
Hint 1 of 1
Start with what your code touches.
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A D B C
- NSManagedObject The objects your code reads and changes.
- NSManagedObjectContext Tracks changes to those objects until you save.
- NSPersistentStoreCoordinator Connects contexts to stores using the model.
- NSPersistentStore (SQLite) The file where data actually lives.