Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI Question



Hi Marco,

On Mar 10, 2007, at 7:16 AM, Marco Piovanelli wrote:
Thanks for the suggestion. I wrote some fallback code that
parses my own Info.plist to retrieve the "proper" mappings
from my "UTImportedTypeDeclarations" array if
UTTypeCreatePreferredIdentifierForTag()
gives me a dynamic UTI. It works like a charm. BTW, I'm testing
for dynamic UTIs using [uti hasPrefix:@"dyn."] -- I hope that's correct.

Yes, checking for prefix "dyn." is the best way (currently) to detect a dynamic UTI.


-Chris



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >UTI Question (From: "Marco Piovanelli" <email@hidden>)
 >Re: UTI Question (From: Christopher Linn <email@hidden>)
 >Re: UTI Question (From: "Marco Piovanelli" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.