在使用Block的时候,定义Block比较费时,有时格式出错,在此mark一下
#import <UIKit/UIKit.h>
typedef void(^ClickBlock)(UIColor * color);
@interface ButtonBlock : UIButton
@property (nonatomic, copy) ClickBlock block;
- (instancetype)initWithBlock:(ClickBlock)block;
@end