In Interface Builder, I have set the dataCell of one of the columns of my NSTableView instance to be NSButtonCell. This works as expected, however, trying to use a ‘template’ image doesn't yield the expected visual result when clicking the button.
How I configure the NSButtonCell:
Expected result when clicking the button:
Actual result when clicking the button:
Even-though I’ve tried my best to make the explanation of the problem as concise as possible, I’ve also made a simple screencast to visually illustrate the problem. And uploaded the demo app.
You need to set the button type to NSMomentaryChangeButton.