Re: CoreData - multiple stores advice...
Re: CoreData - multiple stores advice...
- Subject: Re: CoreData - multiple stores advice...
- From: Martin Linklater <email@hidden>
- Date: Tue, 29 Jan 2008 09:12:25 -0800
On Tuesday, January 29, 2008, at 03:45PM, "mmalc crawford" <email@hidden> wrote:
>I think it's primarily by implication. Where would you expect to see
>this (serious question -- which section)?
I would put it in the 'Core Data Basics' section of the 'Core Data Programming Guide'. The section which talks about 'Persistent Store Coordinator' could read:
'In effect, a persistent store coordinator defines a stack. The coordinator is designed to present a façade to the managed object contexts so that a group of persistent stores appears as a single aggregate store. A managed object context can then create an object graph based on the union of all the data stores the coordinator covers. Note that a coordinator can only be associated with one managed object model. Users requiring multiple backing stores must separate their model entities by defining configurations within the managed object models.(link to XCode Guide covering this).'
I know it's a bit picky with the logic, but I've been in a lot of situations (not necassarily with Apple Docs) where ommissions in the documentation were a sign of bad documenters rather than unsupported functionality. I assumed (in error) that since coordinators deal with multple stores they must deal with multiple MOMs... I then went on to try and fit that concept in with an API which doesn't support it. That was my conceptual error.
Do you think my suggested addition to the docs is reasonable ?
Thank you again for your help - it is most appreciated.
- Martin
_______________________________________________
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