• 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: [Leopard] Core Data model versioning vs. NSPersistentDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Leopard] Core Data model versioning vs. NSPersistentDocument


  • Subject: Re: [Leopard] Core Data model versioning vs. NSPersistentDocument
  • From: mmalc crawford <email@hidden>
  • Date: Tue, 6 Nov 2007 21:03:00 -0800


On Nov 2, 2007, at 8:53 AM, Pierre Bernard wrote:

There however seems to be a problem with my 1.0 files created under Tiger. These files have no versioning information in their metadata. Thus I had to resort to manual migration for those files. Guess that ought to be documented.

Indeed. I'm sure this and in particular the no-custom-classes issue were documented at some stage. I don't know where those paragraphs went :-(

The only remaining problem I have is that for an odd reason the migrated file is opened as "File.hspt~" rather than just "File.hspt" which causes unwanted behavior on save later on. Any ideas how this comes about?

Hmm, no. Generally NSPersistentDocument doesn't seem very happy with the original implementation. I've created an updated version that uses a subclass of NSDocumentController to perform the migration: <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html >. I still don't think it's ideal, but thus far it seems better than the original. I'll let you know if it changes significantly again.

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: [Leopard] Core Data model versioning vs. NSPersistentDocument
      • From: mmalc crawford <email@hidden>
References: 
 >Re: [Leopard] Core Data model versioning vs. NSPersistentDocument (From: Pierre Bernard <email@hidden>)
 >Re: [Leopard] Core Data model versioning vs. NSPersistentDocument (From: Pierre Bernard <email@hidden>)
 >Re: [Leopard] Core Data model versioning vs. NSPersistentDocument (From: mmalc crawford <email@hidden>)
 >Re: [Leopard] Core Data model versioning vs. NSPersistentDocument (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: Customizing DMG(Apply Background image and Icons)
  • Next by Date: Re: Leopard problem: rotating buttons
  • Previous by thread: Re: [Leopard] Core Data model versioning vs. NSPersistentDocument
  • Next by thread: Re: [Leopard] Core Data model versioning vs. NSPersistentDocument
  • Index(es):
    • Date
    • Thread