Skip navigation.
 
mlRe: Multi-storage Core Data
FROM : David Wilson
DATE : Sat May 17 22:03:05 2008

On Sat, May 17, 2008 at 12:27 PM, Rob Napier <<email_removed>> 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
david.t.<email_removed>

Related mailsAuthorDate
mlMulti-storage Core Data Rob Napier May 17, 18:27
mlRe: Multi-storage Core Data Keary Suska May 17, 21:00
mlRe: Multi-storage Core Data Jim Correia May 17, 21:54
mlRe: Multi-storage Core Data David Wilson May 17, 22:03
mlRe: Multi-storage Core Data Rob Napier May 22, 18:05
mlRe: Multi-storage Core Data Ben Trumbull May 22, 22:06