• 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: How do I programmatically access multiple data models within XCode 2.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I programmatically access multiple data models within XCode 2.1?


  • Subject: Re: How do I programmatically access multiple data models within XCode 2.1?
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 5 Nov 2005 10:43:44 -0800


On Nov 5, 2005, at 10:26 AM, Frederick C. Lee wrote:

I've been following data modeling examples. But I would like to access separate data models with their respective stores. How is that done?

It's not clear what you mean -- you seem(?) to be confusing "model" with "managed objects".
If you have multiple stores associated with a given persistent store coordinator, then a fetch request retrieves managed objects from all the stores as appropriate. If you want to retrieve managed objects from a specific store, then you send the request a setAffectedStores: message.


And, what is 'mergedModel' - from bundle? Does this mean combining all data models within the main bundle?

See <http://developer.apple.com/documentation/Cocoa/Conceptual/ CoreData/Articles/cdMOM.html#//apple_ref/doc/uid/TP40002328-SW8>.

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How do I programmatically access multiple data models within XCode 2.1? (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: RE : newbie: adding nibs: i'm stuck
  • Next by Date: using apple's authorization framework
  • Previous by thread: How do I programmatically access multiple data models within XCode 2.1?
  • Next by thread: using apple's authorization framework
  • Index(es):
    • Date
    • Thread