Yesterday, I got the view for the NSToolbarItem to show the desired image by 
putting the set image code for the button in the toolbar item’s validate() 
method, then setting the toolbar item’s view to the button in that method. 
However, now when I click the toolbar item in the app, the action does not get 
called even though I used IB to set the action. If I put the code back in the 
init() method, the default button shows and not what I want, but the action 
gets called.

What can be done to remedy this?
_______________________________________________

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

Reply via email to