Re: Looking for info on creating Plugins/Modules
Re: Looking for info on creating Plugins/Modules
- Subject: Re: Looking for info on creating Plugins/Modules
- From: glenn andreas <email@hidden>
- Date: Fri, 12 Dec 2008 10:19:17 -0600
On Dec 12, 2008, at 9:37 AM, Sherm Pendley wrote:
On Dec 12, 2008, at 4:05 AM, Chris Hanson wrote:
- Your plug-ins should have a document type and UTI declared in
your app's Info.plist so they can be recognized as file packages
rather than folders by the Finder and get a nice icon.
Another nice effect of this is the same behavior you get from the
System Preferences app with respect to .prefPane bundles. When you
double click on a plug-in, the app to which it belongs can open it
and ask if you wish to install it, and if so whether to do so for
all users (/Library/Application Support) or just for yourself (~/
Library/Application Support).
This is a very nice end user experience IMHO. It saves them the
trouble of having to navigate through folders they're likely to be
unfamiliar with in order to "install" the plug-in.
sherm--
OTOH, if your plugin has the suffix "plugin" (and live in the
appropriate directory in your app) your user will be able to manage
plugins directly from the Finder. So if you take an application that
does this, and do a "get info" on it in the finder, one of the panels
in the info window will be "Plug Ins", listing all the plugins in the
application, with checkboxes next to them (so you can deactivate
them), and a "+" and "-" button that will allow you to add/remove
other plugins (this works just like being able to add/remove language
localizations for an app).
It's really quite slick, but rarely used. Its just unfortunate that
it has to have the generic "plugin" suffix...
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
JSXObjC | the easy way to unite JavaScript and Objective C
_______________________________________________
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