On 2014 Apr 23, at 15:13, Peters, Brandon <[email protected]> wrote:

> call [toolbaritem setView:view] and pass in the NSButton.

Try some bonehead debugging with NSLog().  Verify that toolbaritem is your 
target item at that point, in particular, that it is not nil. If that seems to 
be OK, try some more advanced debugging, later, and see if toolbaritem is still 
alive, and if so what is its view.

Also, NSToolbar/Item are kind of crazy cats and customizing them is often found 
to be problematic.  If possible, use the default NSToolbarItem and -setImage:.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to