+2 votes
in C Plus Plus by
What is the purpose of managed object context NSManagedObjectContext in Objective-C and how does it work?

1 Answer

0 votes
by

You can think of a managed object context as an intelligent scratch pad. When you fetch objects from a persistent store, you bring temporary copies onto the scratch pad where they form an object graph (or a collection of object graphs). You can then modify those objects however you like. Unless you actually save those changes, however, the persistent store remains unaltered.

Related questions

+2 votes
asked Jan 19, 2022 in C Plus Plus by DavidAnderson
+2 votes
asked Jan 15, 2022 in C Plus Plus by GeorgeBell
...