• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Toolbars and Plugins and a Giant Panda
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Toolbars and Plugins and a Giant Panda (From: Chilton Webb <email@hidden>)

  • Prev by Date: NSTabView keyboard navigation (was Re: TabView textField Ordering incorrect)
  • Next by Date: Re: (no subject)
  • Previous by thread: Toolbars and Plugins and a Giant Panda
  • Next by thread: Re: Toolbars and Plugins and a Giant Panda
  • Index(es):
    • Date
    • Thread