Latest 0.1.1
Homepage https://github.com/JasonHan1990/JCCheckBox
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

Example Image

// DEFAULT SIZE INIT
JCCheckBox *ovalCheckBox = [JCCheckBox checkBox]; // default size 24 by 24
// SET STYLE
self.ovalCheckBox.checkBoxStyle = JCCheckBoxStyleOval; // square is the default
// CHANGE COLOR
self.ovalCheckBox.innerColor = [UIColor greenColor];
self.ovalCheckBox.outerColor = [UIColor greenColor];
// SET COMPLETION
self.ovalCheckBox.checkedCompletion = ^{
    NSLog(@"Checked");
};
self.ovalCheckBox.uncheckedCompletion = ^{
    NSLog(@"Unchecked");
};
[view addSubview:ovalCheckBox];

Requirements

Installation

JCCheckBox is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'JCCheckBox'

Author

JasonHan1990, [email protected]

License

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

Latest podspec

{
    "name": "JCCheckBox",
    "version": "0.1.1",
    "summary": "JCCheckBox is a custom UIControl for iOS apps.",
    "description": "JCCheckbox is a beautful and simple checkbox for iOS apps. It is a subclass of UIControl. It is easy to use.",
    "homepage": "https://github.com/JasonHan1990/JCCheckBox",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "JasonHan1990": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JasonHan1990/JCCheckBox.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "JCCheckBox/*.{m,h}"
}

Pin It on Pinterest

Share This