//
//  UICheckBox.h
//  JasonDevelop
//
//  Created by kcb on 10. 11. 22..
//  Copyright (c) jasondevelop. All rights reserved.
//

@import UIKit;


@protocol CustomCheckBoxDelegate <NSObject>

@optional
- (void)didCheckBoxClicked:(id)sender;

@end

@interface CustomCheckBox : UIButton {

}

@property (nonatomic, assign) id<CustomCheckBoxDelegate> delegate;

@property (nonatomic, assign) IBInspectable BOOL checked;
@property (nonatomic, assign) BOOL checkedDisable;
@property (nonatomic, assign) BOOL disable;
@property (weak, nonatomic) id value;

- (instancetype)initWithFrame:(CGRect)frame normalImage:(UIImage *)normalImage highlightImage:(UIImage *)highlightImage;
- (IBAction)checkBoxClicked;
- (BOOL)getCheckStatusFromValue;

@end
