Re: entity name not found when model is in private framework
Re: entity name not found when model is in private framework
- Subject: Re: entity name not found when model is in private framework
- From: mmalc Crawford <email@hidden>
- Date: Fri, 22 May 2009 19:51:45 -0700
On May 22, 2009, at 7:34 PM, Rick Mann wrote:
So perhaps my app needs to get the model(s) from the framework, and
merge them into its own model, but I don't even see how to do that;
I see no way to add the MOM to the PSC, and it seems lame to have to
create my own PSC (which is nicely handled by NSPersistentDocument,
and seems non-trivial).
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPersistentDocument_Class/Reference/Reference.html
>
"You can customize the architecture of the persistence stack by
overriding the methodsmanagedObjectModel
andconfigurePersistentStoreCoordinatorForURL:ofType:modelConfiguration:storeOptions:error
:. You might wish to do this, for example, to specify a particular
managed object model."
mmalc
_______________________________________________
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