Re: Toolbars and Plugins and a Giant Panda
Re: Toolbars and Plugins and a Giant Panda
- Subject: Re: Toolbars and Plugins and a Giant Panda
- From: Scott Anguish <email@hidden>
- Date: Thu, 30 Aug 2001 14:06:18 -0400
On Thursday, August 30, 2001, at 12:31 PM, Chilton Webb wrote:
Just wondering: Can a plug-in affect the toolbar of a window in my
Cocoa app? I'd like to offer enhancements my app's windows' toolbars in
the form of plug-ins. Is there an easy mechanism for this?
Sure... you'd need to write code that when each plug-in is loaded
it is tracked and checked if it provides a toolbar functionality or not.
Then, in the two or three delegate methods that provide toolbar
functionality you'll need to loop through your plugins giving each the
opportunity to add/validate/respond to plug-ins.
not something that cocoa provides an easy method for.. but none the
less something that isn't terribly hard to do.