Re: Core data model configuration & Leopard
Re: Core data model configuration & Leopard
- Subject: Re: Core data model configuration & Leopard
- From: mmalc crawford <email@hidden>
- Date: Mon, 29 Oct 2007 09:25:47 -0700
On Oct 29, 2007, at 8:42 AM, Bill wrote:
It seems to be creating a merged model from all frameworks I'm using
(see below). And the app does use a lot of frameworks besides the
standard set. There's Security, SystemConfiguration, and Message.
I'm not sure how to load a specific model from my app bundle, but I
will definitely look into it and see if that helps.
The message framework at least now contains a model, so this is
getting merged in.
In your case, you should probably only load models from your app
bundle (NSBundle mainBundle):
managedObjectModel = [[NSManagedObjectModel mergedModelFromBundles:
[NSBundle mainBundle]] retain];
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