On Sep 23, 2011, at 10:27 AM, Kyle Sluder wrote:

> This is not all that different from how UTIs behave now. Launch
> Services employs a few extremely simple heuristics (file extension,
> creator code, MIME type) and assigns a UTI to the file.
> 
> The big difference is that the detected UTI isn't recorded. If Launch
> Services recorded the last UTI it detected for the file in an xattr on
> that file, and if the user had the ability to change that recorded
> value, we'd have the system you're referring to, without losing ANY of
> the features of UTIs.

If LS recorded the last UTI it detected for a file, we’d get the wrong UTI 
getting recorded in the MATLAB vs. Xcode case, and then the end-user would have 
to fiddle around with stuff that he/she really shouldn’t have to know about 
just to get the file to open.

I maintain that the better solution is for LS to keep both options open in the 
case of a conflict. Instead of guessing one or another, internally consider it 
something like “either public.objective-c-source or com.matlab.whatever” and 
offer the file to any application that accepts either with the UTI appropriate 
for that app.

Charles_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to