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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com