Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 815
Nava Carmon Avatar asked Dec 10 '22 16:12

Nava Carmon


1 Answers

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

like image 164
Peter Hosey Avatar answered Dec 27 '22 12:12

Peter Hosey