Re: HERE'S HOW: distinguish old archives from keyed archives
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.