Re: Custom bundle icon
Re: Custom bundle icon
- Subject: Re: Custom bundle icon
- From: Kyle Sluder <email@hidden>
- Date: Mon, 5 Jul 2010 20:32:28 -0700
On Mon, Jul 5, 2010 at 8:01 PM, John Johnson <email@hidden> 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 (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