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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to