Re: Multi-storage Core Data
Re: Multi-storage Core Data
- Subject: Re: Multi-storage Core Data
- From: "David Wilson" <email@hidden>
- Date: Sat, 17 May 2008 16:03:05 -0400
On Sat, May 17, 2008 at 12:27 PM, Rob Napier <email@hidden> 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@hidden
_______________________________________________
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