• 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
Finding out my document's extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding out my document's extension


  • Subject: Finding out my document's extension
  • From: Glen Simmons <email@hidden>
  • Date: Wed, 19 Jan 2005 12:18:10 -0600

How can I find out the extension of one of my document types programmatically? Sending -readableTypes to the NSDocument subclass that handles that type gives back the CFBundleTypeName, not the extension. Obviously, I can work my way through the info dictionary, but that seems awfully hacky. The system has to know the extension to be able to add it when saving, so how do I get it to tell me?

Thanks,
Glen

_______________________________________________
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


  • Follow-Ups:
    • Re: Finding out my document's extension
      • From: Clark Cox <email@hidden>
  • Prev by Date: Re: Binding a text field's editable binding to a matrix
  • Next by Date: Re: Binding a text field's editable binding to a matrix
  • Previous by thread: Re: NSOpenPanel file types & wildcards
  • Next by thread: Re: Finding out my document's extension
  • Index(es):
    • Date
    • Thread