/SCSwitchButton

A UISwitch alike button on Mac OS X. This project is a light enhancement of PRHOnOffButton.

Primary LanguageObjective-COtherNOASSERTION

How to use it

  1. Add SCSwitchButton and SCSwitchButtonCell to your Xcode project.
  2. Add a checkbox(NSButton) to your xib.
  3. Select the checkbox and set the control's class to SCSwitchButton.
  4. Double-click the checkbox to edit its cell. Set the cell's class to SCSwitchButtonCell.

Compatibility

Mac OS X 10.5+

Acknowledgement

This project is inspired by Peter Hosey's PRHOnOffButton https://bitbucket.org/boredzo/prhonoffbutton/wiki/Home

License

BSD License