Skip navigation.
 
mlre: NSPersistentDocument Revert Question
FROM : Ben Trumbull
DATE : Mon Mar 31 01:52:14 2008

Mike,

Each persistent document has its own Core Data stack.  When you close
one, and reopen it, it has a new NSPersistentStoreCoordinator,
NSManagedObjectModel, and NSManagedObjectContext.

So any bindings to managed objects or their entity descriptions from
the old, deallocated persistent document are effectively invalid.
--

-Ben

Related mailsAuthorDate
mlNSPersistentDocument Revert Question Mike Burns Mar 26, 23:47
mlre: NSPersistentDocument Revert Question Ben Trumbull Mar 31, 01:52