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>
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 mails | Author | Date |
|---|---|---|
| Rob Napier | May 17, 18:27 | |
| Keary Suska | May 17, 21:00 | |
| Jim Correia | May 17, 21:54 | |
| David Wilson | May 17, 22:03 | |
| Rob Napier | May 22, 18:05 | |
| Ben Trumbull | May 22, 22:06 |






Cocoa mail archive

