cocoa - Lost in NSButton types and alternate images -


I want an NSButton with an image and an optional image to display the alternative image While the button is pressed and IAC also wants to display the alternative code from the code, such as [selected from the button set: yes] . Is this possible without having to do this alternative image without hand on the property?

This is manually without changing the button's image manually: < P> Set the NSButton type "toggle" in the interface builder (xib / nib editor) and the image automatically returns the optional image / Will change in title.

Set Optional Image Type toggle to use

Comments