Re: Saving, file types, and non-document-based apps
Re: Saving, file types, and non-document-based apps
- Subject: Re: Saving, file types, and non-document-based apps
- From: Yann Bizeul <email@hidden>
- Date: Wed, 12 Jan 2005 15:54:30 +0100
Almost. He'll rather want to specify a Creator Code, not a file type.
The Creator Code specifies the application that owns a document. The
type code is basically functionally equivalent to the file name
suffix.
And in addition, the NSDictionary* attributes should be
NSMutableDictionary*, because that's what mutableCopy will give you.
That'll also shut up the "NSDictionary may not respond to
setObject:forKey:" warnings you'll deservedly get otherwise.
Yes, sorry about that, I typed some of the code without testing :-)
I agree about the creator code too !
--
Yann Bizeul - yann at tynsoe.org
Please use this e-mail when writing to me.
You can visit my projects at this address :
http://projects.tynsoe.org/
(BuddyPop - GeekTool - SSH Tunnel Manager...)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden