• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multi-storage Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Multi-storage Core Data (From: "Rob Napier" <email@hidden>)

  • Prev by Date: Re: Multi-storage Core Data
  • Next by Date: Re: Set view in bottom right corner of NSTableView
  • Previous by thread: Re: Multi-storage Core Data
  • Next by thread: Re: Multi-storage Core Data
  • Index(es):
    • Date
    • Thread