• 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: HERE'S HOW: distinguish old archives from keyed archives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HERE'S HOW: distinguish old archives from keyed archives


  • Subject: Re: HERE'S HOW: distinguish old archives from keyed archives
  • From: Drew McCormack <email@hidden>
  • Date: Mon, 1 Sep 2003 06:25:42 +0200

First of all, IMHO, you should be using a different file extension for a new document format which is keyed-archiving-based rather than old-archiving-based. It's a different file format after all. But most of you won't listen to that advice.
I considered this option, and wanted to implement it, but couldn't figure out a nice way to do it. I don't want my users to notice that anything has changed. So they open an old format file called foo.tsdoc, but when they save this, it should be renamed to foo.tsdoc1, for example. I guess you have to call "setFileName:" after loading. Is that right?

The other thing is, when I tested this idea, the type passed to my load... method did not seem to correspond to the document type I had set for the extension of the file. Could this be because I didn't log out or restart?

Drew

----------------------------------
Dr. Drew McCormack
Trade Strategist (www.trade-strategist.com)
Stock Market strategy design platform for Mac OS X.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: HERE'S HOW: distinguish old archives from keyed archives
      • From: Chris Kane <email@hidden>
  • Prev by Date: Re: Moving to Keyed Archiving
  • Next by Date: set color of color well in AppleScriptStudio
  • Previous by thread: Re: Moving to Keyed Archiving
  • Next by thread: Re: HERE'S HOW: distinguish old archives from keyed archives
  • Index(es):
    • Date
    • Thread