Finding out my document's extension
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