On Thu, Sep 22, 2011 at 3:19 PM, Charles Srstka <cocoa...@charlessoft.com> 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 (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