Example: I create a bunch of new NSManagedObject instances. Not stored yet, but already added to a managed object context. Then I want permanent IDs so I can refer back to those objects 10 years later. At this point, will these objects be actually saved to the persistent store?
I guess they have to - but I'm not sure how Core Data obtains ID from the persistent store. If I would develop Core Data, I would insert a dummy to get an ID, and later fill that dummy with whatever real data I have. Did they do it this way?