On Thu, Mar 12, 2009 at 7:09 AM, Mic Pringle <micprin...@gmail.com> wrote:
> However, in your example you use the mainbundle of the current
> application. Is it possible to use this technique when the bundle is
> another application ?

Use +[NSBundle bundleWithPath:].

> i.e. the task I'm trying to achieve is when given an application (any
> application on the host system) I'd like to determine what document
> types it's associated with.

Be aware that some apps will use UTIs, and some won't.  Apps can
declare that they own a certain type (UTExportedTypeDeclarations) or
that they can open a type owned by someone else
(UTImportedTypeDeclarations).

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

Reply via email to