| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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?
| References: | |
| >Re: HERE'S HOW: distinguish old archives from keyed archives (From: Drew McCormack <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.