Reputation: 1497
Is it possible to make it so that the user can click on an NSImage and trigger an action? How can I do this, through Interface Builder or programmatically?
Upvotes: 1
Views: 845
Reputation:
Yeah:
[myButton setImage:[NSImage imageNamed:@"mypng.png"]];
Upvotes: 3