A UISwitch alike button on Mac OS X. This project is a light enhancement of PRHOnOffButton.
Objective-C C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
English.lproj
SCSwitchButton.xcodeproj
.gitignore
LICENSE.txt
NSColor+SCAdditions.h
NSColor+SCAdditions.m
README.markdown
SCSwitchButton-Info.plist
SCSwitchButton.h
SCSwitchButton.m
SCSwitchButtonAppDelegate.h
SCSwitchButtonAppDelegate.m
SCSwitchButtonCell.h
SCSwitchButtonCell.m
SCSwitchButton_Prefix.pch
main.m

README.markdown

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