On Sep 22, 2011, at 6:02 PM, Kyle Sluder wrote: > On Thu, Sep 22, 2011 at 3:48 PM, Charles Srstka > <cocoa...@charlessoft.com> 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 (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