Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.