- Add SCSwitchButton and SCSwitchButtonCell to your Xcode project.
- Add a checkbox(NSButton) to your xib.
- Select the checkbox and set the control's class to SCSwitchButton.
- Double-click the checkbox to edit its cell. Set the cell's class to SCSwitchButtonCell.
Mac OS X 10.5+
This project is inspired by Peter Hosey's PRHOnOffButton https://bitbucket.org/boredzo/prhonoffbutton/wiki/Home
BSD License