CheckButton.h 647 B

123456789101112131415161718192021222324252627
  1. //
  2. // CheckButton.h
  3. // CommonLibrary
  4. //
  5. // Created by Alexi on 14-1-19.
  6. // Copyright (c) 2014年 CommonLibrary. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MenuButton.h"
  10. @class CheckButton;
  11. typedef void (^CheckButtonAction)(CheckButton *btn);
  12. @interface CheckButton : UIControl
  13. @property (nonatomic, strong) MenuButton *button;
  14. @property (nonatomic, strong) UILabel *title;
  15. @property (nonatomic, assign) BOOL isCheck;
  16. @property (nonatomic, copy) CheckButtonAction checkAction;
  17. - (instancetype)initNormal:(UIImage *)image selectedImage:(UIImage *)simage title:(NSString *)title checkAction:(CheckButtonAction)action;
  18. @end