CTCheckbox is a checkbox UI component library for iOS.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CTCheckbox.xcodeproj fix UIControlState warning Jun 3, 2015
CTCheckbox
CTCheckboxSample
.gitignore Create checkbox class Mar 15, 2013
CTCheckbox.podspec Update podspec Oct 25, 2015
LICENSE
README.md Update README.md Feb 6, 2014
screenshot.png

README.md

CTCheckbox

CTCheckbox is a checkbox UI component library for iOS 5+,

Screenshot

Usage

You put UIView on a storyboard and change it's class to CTCheckbox. UIViewController

@property (weak, nonatomic) IBOutlet CTCheckbox *checkbox;
[self.checkbox addTarget:self action:@selector(checkboxDidChange:) forControlEvents:UIControlEventValueChanged];
self.checkbox.textLabel.text = @"Label text";
- (void)checkboxDidChange:(CTCheckbox *)checkbox
{
    NSLog(@"%d", checkbox.checked);
}

Or create using initWithFrame:.

License

CTCheckbox is available under the MIT license. See the LICENSE file for more info.