Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another rookie core data question




On Jul 27, 2005, at 3:01 PM, Andy Shamel wrote:

Is it possible to have more than one data model in a project?

Yes.


I.e. could i have one data model and persistant store for the application
itself, and another for documents?


<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSPersistentDocument.html#// apple_ref/doc/uid/TP30001179-CJBJBIHA>


And further, would it be possible to communicate between these two stores, etc.

<http://developer.apple.com/documentation/Cocoa/Reference/ CoreData_ObjC/Classes/NSPersistentStoreCoord.html>


"The object is designed to present a facade to the managed object contexts such that a group of persistent stores appears as an aggregate store. A managed object context can then create an object graph based on the union of all the data stores the coordinator covers."

See also <http://developer.apple.com/documentation/Cocoa/Conceptual/ CoreData/Articles/cdBasics.html>.

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Another rookie core data question (From: Andy Shamel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.