• 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: Keary Suska <email@hidden>
  • Date: Sat, 17 May 2008 13:00:59 -0600
  • Thread-topic: Multi-storage Core Data

on 5/17/08 10:27 AM, email@hidden purportedly said:

> I'm trying to build a Core Data app for which some data is user-provided and
> some data is shipped with the program. Consider a travel itinerary program
> for instance where the user has a trip from airport A to airport B. If the
> program includes data about the airports themselves, that shouldn't be
> stored in the same storage as the user's flight numbers. One is document
> based and the other is shared across documents.
>
> 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?

I don't believe there is any support for this, at least not "automatically".
You would have to provide glue code for any interactions between Managed
Object Contexts (MOCs), since each MOC is married to one storage.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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

  • Follow-Ups:
    • Re: Multi-storage Core Data
      • From: Jim Correia <email@hidden>
References: 
 >Multi-storage Core Data (From: "Rob Napier" <email@hidden>)

  • Prev by Date: Re: NSURLRequest : Unable to Quit App after Syn call to Server.
  • Next by Date: Re: Storing PDF selection
  • Previous by thread: Multi-storage Core Data
  • Next by thread: Re: Multi-storage Core Data
  • Index(es):
    • Date
    • Thread