static char touchKey;
-(void)actionTap{
void (^block)(void) = objc_getAssociatedObject(self, &touchKey);
if (block) block();
}
-(void)addTouch:(TouchBlock)block{
UITapGestureRecognizer * tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(actionTap)];
[self addGestureRecognizer:tap];
objc_setAssociatedObject(self, &touchKey, block, OBJC_ASSOCIATION_COPY_NONATOMIC);
}