Re: UTI in Lion
Re: UTI in Lion
- Subject: Re: UTI in Lion
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 23 Sep 2011 05:05:06 +0700
On 23 Sep 2011, at 00:55, Sean McBride wrote:
> On Wed, 21 Sep 2011 17:10:08 +0700, Gerriet M. Denkmann said:
>
>> So - should I just ignore all the hype about UTIs, or what?
>
> UTIs are quite nice, unless you deal with file formats that have conflicting extensions. The OS basically derives the UTI from the extension (or HFS type as a fall back) an so there is only one UTI per extension. Thus if Xcode claims .m as Obj-C source, and Matlab claims it as Matlab source, one of those declarations will win and the other will loose. :(
I guess everybody would win, if the UTI would be stored (e.g. as an extended attribute, like the string encoding is).
There must be some very good reason this is not done - maybe somebody could point it out to me.
Kind regards,
Gerriet.
_______________________________________________
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