• 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
Human readable file type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Human readable file type?


  • Subject: Human readable file type?
  • From: Allan Odgaard <email@hidden>
  • Date: Sun, 7 Jul 2002 14:47:02 +0200

Hi there,

I need to display a human readable filetype, similar to how the "Show Info" of the Finder does (e.g. "MP3 Audio File").

I have not been able to figure out where this is stored, other than use NSWorkspace's getInfoForFile and then look in the Info.plist of the application which opens the file (to read the CFBundleTypeName property), but this is really hacky (and I'm not sure Info.plist is the only place that the supported filetypes of an app can be stored).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Human readable file type?
      • From: Nathan Day <email@hidden>
    • [solved, but a little dirty] Re: Human readable file type?
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: When is my delegate released?
  • Next by Date: [solved] NSMenu: indented items (a la Apple's "Recent Items"-menu)
  • Previous by thread: Re: Colors and NSUserDefaults
  • Next by thread: [solved, but a little dirty] Re: Human readable file type?
  • Index(es):
    • Date
    • Thread