Re: NSFileManager, NSFileType and more...
Re: NSFileManager, NSFileType and more...
- Subject: Re: NSFileManager, NSFileType and more...
- From: Sam Goldman <email@hidden>
- Date: Sat, 30 Jun 2001 14:21:49 -0700
On Saturday, June 30, 2001, at 04:04 AM, Sam Goldman wrote:
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
If it will help answer my question, how do I access POSIX threads and
what does that mean (I think it's unix/hardware related, I'll do more
research on that)
--sam