摘要: // 防止多次调用 #define kPreventRepeatClickTime(_seconds_) \ static BOOL shouldPrevent; \ if (shouldPrevent) return; \ shouldPrevent = YES; \ dispatch_after 阅读全文
posted @ 2019-09-07 18:52 🍂浪迹天涯🍂 阅读(289) 评论(0) 推荐(0) 编辑
摘要: #import "UIButton+touch.h" #import<objc/runtime.h> @interface UIButton() /**bool 类型 设置是否执行点UI方法*/ @property (nonatomic, assign) BOOL isIgnoreEvent; @e 阅读全文
posted @ 2019-09-07 18:46 &#127810;浪迹天涯&#127810; 阅读(262) 评论(0) 推荐(0) 编辑