NSFileManager, NSFileType and more...
NSFileManager, NSFileType and more...
- Subject: NSFileManager, NSFileType and more...
- From: Sam Goldman <email@hidden>
- Date: Sat, 30 Jun 2001 04:04:56 -0700
Making a little app that will help me get files opened by the right
application that is easier to use than xFiles (I think it's a real pain
to use after being privileged with Snitch).
I got the NSDictionary from NSFileManager perfectly, but for the key
NSFileType I just get NSFileTypeRegular. The documentation ways this is
one of the available ones, but I am looking for the four-digit code
(e.g. MOOV, MPEG, TEXT). How do I get that code?
Also, I'll be needing to grab the creator code, which I didn't find in
NSFileManager's documentation. What do I do to get this? I will look in
other places, but please point me in a place to look.
I hope to have a fully-functional file browser and when an item is
selected it will display the file properties (if available). It will be
my third (large) app to date so expect to hear more from me on the
project.
Wish me luck :-)
Sam