Re: UTI in Lion
Re: UTI in Lion
- Subject: Re: UTI in Lion
- From: Kyle Sluder <email@hidden>
- Date: Thu, 22 Sep 2011 15:43:58 -0700
On Thu, Sep 22, 2011 at 3:19 PM, Charles Srstka
<email@hidden> wrote:
> A while ago someone posted on this list that they needed to list all files that were applications, including old Classic apps. To do that the old way, you’d have to check for .app, bundles with the package bit set and ‘APPL’ in the PkgInfo file, and the “APPL”, “APPC”, “APPD”, “APPE”, “cdev”, “dfil”, and probably some other type codes I’m forgetting. With UTIs, you just check for com.apple.application and be done with it.
You're conflating the hierarchy afforded by UTIs with the mechanism
used to determine whether a file conforms to an individual UTI.
Adding a UTI xattr that acts as an override for the
extension/OSType/MIME-based detection approach doesn't make it any
less possible to conform to a UTI hierarchy.
--Kyle Sluder
_______________________________________________
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