Re: Another rookie core data question
Re: Another rookie core data question
- Subject: Re: Another rookie core data question
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 27 Jul 2005 16:13:21 -0700
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:
This email sent to email@hidden