• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UTI in Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI in Lion


  • Subject: Re: UTI in Lion
  • From: Charles Srstka <email@hidden>
  • Date: Fri, 23 Sep 2011 16:33:07 -0500

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@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

  • Follow-Ups:
    • Re: UTI in Lion
      • From: Jayson Adams <email@hidden>
References: 
 >Re: UTI in Lion (From: Sander Stoks <email@hidden>)
 >Re: UTI in Lion (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: UTI in Lion
  • Next by Date: Re: Affinity between a document (plain text) file and app-specific parameters for this document
  • Previous by thread: Re: UTI in Lion
  • Next by thread: Re: UTI in Lion
  • Index(es):
    • Date
    • Thread