Re: UTIs and type codes and extensions
Re: UTIs and type codes and extensions
- Subject: Re: UTIs and type codes and extensions
- From: Randall Meadows <email@hidden>
- Date: Wed, 14 Jan 2009 09:37:17 -0700
On Jan 14, 2009, at 7:48 AM, Sean McBride wrote:
On 1/14/09 2:31 AM, Julien Jalon said:
I'm just making sure I'm not missing something...
There's no system-defined way to go from a UTI to an old-style
file type
code (which the UTI docs seem to refer to as a "tag") and back
again, am I
correct?
extern CFStringRef
UTTypeCopyPreferredTagWithClass(
CFStringRef inUTI,
CFStringRef inTagClass)
AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
Note that none of the 'UT...' functions are documented in Xcode's
built-
in viewer, but browsing through the .h's reveals good header
documentation.
Whew. So I'm not losing it. (Well, not in this particular case,
anyway...)
Thanks!
randy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden