To run the example project, clone the repo, and run pod install
from the Example directory first.
ZFCheckBox is available through CocoaPods. To install it, simply add the following line to your Podfile:
source 'https://github.com/670608142/ZFSpecs.git'
pod 'ZFCheckBox'
import "ZFCheckBox.h"
ZFCheckBox *cb = [[ZFCheckBox alloc]initWithFrame:CGRectMake(100, 100, 30, 30)];
[cb onClickWithBlock:^{
// TODO..
}];
[cb setCornerRadius:3.0f];
[cb setBorderWidth:2.0f];
[cb setTickLineWidth:2.0f];
[cb setTickColor:[UIColor redColor]];
[cb setSelected:YES];
[cb isSelected];
670608142, [email protected]
ZFCheckBox is available under the MIT license. See the LICENSE file for more info.