• 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: Place for app version value in document wrapper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Place for app version value in document wrapper


  • Subject: Re: Place for app version value in document wrapper
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 10 May 2007 19:25:55 -0400

On May 10, 2007, at 6:36 PM, Jaime Magiera wrote:

Thanks for all the responses. It sounds like adding a "documentVersion" to my document's config plist is the best bet moving forward. Scott nailed it when we said this is really a document-side issue and should be changed only when that format changes. One of the projects I'm working on was originally written (by another engineer) in a very static, hard-coded, non-mutable way. Changing the app has meant some dramatic changes to the document format. Having a documentVersion variable will help simply the processing of updating documents when opened in a newer version of the application.

One really simple, straightforward way to handle that would be to use a new filename extension for the new format. If the old format is "foo", you could use "foo2" or "foox" for the new format. This would be especially appropriate if the first version of your software doesn't know to check for a document-version attribute, and isn't capable of handling the newer format.


That's what Apple did, with .pbproj, .xcode, and .xcodeproj formats.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Place for app version value in document wrapper (From: Jaime Magiera <email@hidden>)
 >Re: Place for app version value in document wrapper (From: Sherm Pendley <email@hidden>)
 >Re: Place for app version value in document wrapper (From: "Sean McBride" <email@hidden>)
 >Re: Place for app version value in document wrapper (From: Jaime Magiera <email@hidden>)

  • Prev by Date: dashboard widget plugin internal method calls
  • Next by Date: Re: Cocoa bootstrap
  • Previous by thread: Re: Place for app version value in document wrapper
  • Next by thread: Re: Place for app version value in document wrapper
  • Index(es):
    • Date
    • Thread