On Mon, Jul 5, 2010 at 8:01 PM, John Johnson <johntothejohn...@gmail.com> wrote: > Thanks for the info on the bundle bit. So can I set the UTI on the plugin > itself, or must I set it on the main app? I mean, I understand that setting > it on the main app will work, but will setting it on just the plugin work as > well?
You can't "set a UTI on something." You provide a UTI declaration in your Info.plist, consisting of a set of attributes that define what it means for a file to conform to a UTI, and Launch Services uses that to match files against when it tries to determine their UTI. So, no, by definition you can't set it on your plugin bundle. Did you instead mean you wanted to provide your UTI declaration in your plugin bundle's Info.plist? That won't work, unforunately. The "Declaring New Uniform Type Identifiers" section of the Uniform Type Identifiers Overview enumerates the bundles which Launch Services consults when searching for UTI declarations: app bundles, Spotlight importers, and Automator actions. http://developer.apple.com/mac/library/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html#//apple_ref/doc/uid/TP40001319-CH204-SW1 --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