That's really good to know!  Thank you for sharing this.  :)

Dave

On May 23, 2010, at 8:51 PM, Scott Ribe wrote:

> On May 23, 2010, at 5:03 PM, Dave DeLong wrote:
> 
>> Use LSCopyAllRoleHandlersForContentType to get a list of bundle identifiers.
> 
> No, don't. It's really lame, and returns obviously incomplete results. Maybe 
> it only returns Cocoa apps; maybe it only returns apps that specify the type 
> via explicit UTI and ignores type extensions & codes. Whatever, it's wrong 
> for even common types like PDF & TIFF.
> 
> As far as I can, the only way to even come close to getting a list of apps 
> that can open a file type, is to use a dummy file with the appropriate 
> extension, and call LSCopyApplicationURLsForURL.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

Reply via email to