re: NSPersistentDocument Revert Question
re: NSPersistentDocument Revert Question
- Subject: re: NSPersistentDocument Revert Question
- From: Ben Trumbull <email@hidden>
- Date: Sun, 30 Mar 2008 16:52:14 -0700
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden