I want to create an NSPopUpButton with a custom active image. I have two images, one for inactive, and another for active. In interface builder I set the Image and Alt. Image for the NSPopUpButton. The Image is showing correctly but when I click on the button it displays the standard dark button state instead of the Alt. Image.
Here is a screen shot of the interface builder panel: http://cl.ly/0D2c0Y2y0f1Z462d311X
How can I setup the NSPopUpButton to display my alternate image when it’s clicked?
A developer from the Apple Dev forums pointed me in the right direction: https://devforums.apple.com/message/364824
Here’s what I came up with as a subclass of NSPopUpButtonCell that respects the alternate image from IB: