Here’s a basic core data question: in core data, is there only one Managed Object in a MOC?
The documentation contains a nice graphic, here, that unfortunately confuses me (further). In the NSManagedObjectContext, it seems that there are multiple objects (Employees and Departments), and that each has multiple instances (“Jo”, “Sales”, etc). Yet in the section about “Managed Objects”, here, it says: “In a given context, for a given record in a persistent store, there can be only one corresponding managed object“.
Could someone explain the differences to between a Managed Object, a Managed Object Context, and a data record?
You can have multiple managed objects in a managed object context. You can think of a managed object context something like a transaction.
What the second bit of text is saying that every managed object maps to a single record in the persistent store (disk representation). So you could have multiple managed object contexts, each with a copy of a managed object context, yet they’d all map to the same record on disk.