Search code examples
cocoamacosinterface-buildernsbuttonnsbuttoncell

create custom button with image in interface builder


How do I create a button with an images for normal & highlighted states in interface builder for cocoa application? I need a button like custom button in cocoa-touch and provide a graphics for default and highlighted states. Again, it's for pure mac application not for iPhone.

TIA


Solution

  • Turn off its bordered property and set its image (normal) and alternate image (highlighted).