• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data and Document Packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core Data and Document Packages
      • From: Seth Willits <email@hidden>
References: 
 >Core Data and Document Packages (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: [MODERATOR - NDA] Re: Looking for NSCollectionView sample code
  • Next by Date: Re: Cocoa and dead-code stripping
  • Previous by thread: Core Data and Document Packages
  • Next by thread: Re: Core Data and Document Packages
  • Index(es):
    • Date
    • Thread