On 15 Jun 2013, at 19:33, Eric Smith <eric_h_sm...@mac.com> wrote: > Anyone know how to attach a popup menu to a toolbar button, as with the 'run' > button in Xcode? I want to give users a choice of action via a popup menu if > they hold down one of my toobar buttons.
I have code for doing this here: https://bitbucket.org/mikeabdullah/bwtoolkit/src/c03ecd984756c2f27d6fe3f8d5e938f840178e9b/BWIWorkPopUpButton.h?at=default https://bitbucket.org/mikeabdullah/bwtoolkit/src/c03ecd984756c2f27d6fe3f8d5e938f840178e9b/BWIWorkPopUpButton.m?at=default Which you're welcome to use in your app with proper attribution. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com