No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
JTToggleView.h
JTToggleView.m
README.md
screen.png
toggleOff.png
toggleOn.png
toggleTrack.png

README.md

##JTToggleView

A simple UIView that acts like a checkbox.

##Usage Simply add a UIView to your storyboard, class it as JTToggleView then hook up the appropriate outlets. The view will automatically handle tap events and you can set the toggle via:

[self.toggleView toggleOn];
// OR
[self.toggleView toggleOff];

To figure out if the toggle is on or off you can use:

if (self.toggleView.isOn) {
	// the toggle is on
}

Design

Ships with a design similar to:

Screenshot