Re: UTI in Lion
Re: UTI in Lion
- Subject: Re: UTI in Lion
- From: Charles Srstka <email@hidden>
- Date: Thu, 22 Sep 2011 18:26:50 -0500
On Sep 22, 2011, at 6:02 PM, Kyle Sluder wrote:
> On Thu, Sep 22, 2011 at 3:48 PM, Charles Srstka
> <email@hidden> wrote:
>> No, but it would no longer be an abstraction over the type system. The idea
>> of UTI is that you just want to handle a certain type of file; you don’t
>> care *how* the OS figures out that it’s that particular type of file. If
>> someone comes up with a newer and better way to implement file types in the
>> future, the UTI system will just be updated to handle that new type system
>> and your app will continue to work with no modifications. That, along with
>> the hierarchy, is what is nice about UTI.
>
> The "newer and better way to implement file types" might be "you can
> also specify that this individual file is really this specific UTI
> instead of making Launch Services guess." :) This would be very
> helpful for the MATLAB vs ObjC example.
>
> --Kyle Sluder
But it wouldn’t help much if your MATLAB files came from another platform. I think any new file-typing system is going to have to involve a cooperation among the various OS vendors.
A better solution for the MATLAB vs. ObjC example would be to make the UTI system able to consider both possible types in the case of a mismatch.
Charles_______________________________________________
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