• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSFileManager, NSFileType and more...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSFileManager, NSFileType and more...
      • From: Sam Goldman <email@hidden>
  • Prev by Date: Re: 2-moded window question
  • Next by Date: Problems with Java and Cocoa
  • Previous by thread: Shadowed Text
  • Next by thread: Re: NSFileManager, NSFileType and more...
  • Index(es):
    • Date
    • Thread