Re: Core Data and Document Packages
Re: Core Data and Document Packages
- Subject: Re: Core Data and Document Packages
- From: mmalc Crawford <email@hidden>
- Date: Tue, 3 Jul 2007 05:57:48 -0700
On Jul 3, 2007, at 1:38 AM, Seth Willits wrote:
With NSPersistentDocument, by default it uses the document's -
fileName as the path for the persistent store. What is the best way
to retarget it so that it uses a different path within the package?
I imagine someone here must have done it, so I'm hoping to not have
to fiddle for so long to figure it out, however it seems that I
might simply be able to override
configurePersistentStoreCoordinatorForURL:ofType:error: and pass a
different URL to super's implementation? Will there be any side
effects to this?
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPersistentDocument_Class/Reference/Reference.html
>
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