how do i re-hydrate a core data URIRepresentation without knowing the PSC?
how do i re-hydrate a core data URIRepresentation without knowing the PSC?
- Subject: how do i re-hydrate a core data URIRepresentation without knowing the PSC?
- From: Ken Victor <email@hidden>
- Date: Thu, 29 Jun 2006 17:05:09 -0700
given that i can "archive" an NSManagedOBject instance via:
[coder encodeObject: [[instance objectID] URIRepresentation] forKey:
@"objectIdKey"];
how do i go about getting back the NSManagedObject? more
specifically, managedObjectIDForURIRepresentation needs to be sent to
a PersistantStoreCoordinator instance and given that i'm in a
multi-doc environment, how do to find which PSC corresponds to a URI?
(same problem exists if i try to use objectWithID... ie, in a
multi-doc environment, how do i know which MOC to message?).
thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden