On Sat, May 17, 2008 at 12:27 PM, Rob Napier <[EMAIL PROTECTED]> wrote:
> I understand the basic idea of using Fetched Properties and how to create
> them. What I'm not clear on is how to define a fetched property in one store
> against objects in another store, or how to tie multiple stores together
> into a context. Is there a good explanation or sample code for this kind of
> setup?

Take a look at [NSManagedObject objectID]. Note especially the warning
that the ID will change if the object hasn't been saved yet, though if
all of your linkages are into your shipped store those objects will
all have permanent IDs. The external objects can store URI
representations as the "relationships" (to-many relationships can be
handled with proxy objects).

-- 
- David T. Wilson
[EMAIL PROTECTED]
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to