Files
fanyin-ios/QXLive/Tools/Category/UIControl+QX.h
2025-08-12 14:27:12 +08:00

25 lines
641 B
Objective-C

//
// UIControl+QX.h
// QXLive
//
// Created by 启星 on 2025/5/19.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
static const char *UIControl_acceptEventInterval = "UIControl_acceptEventInterval";
static const void *BandNameKey = &BandNameKey;
@interface UIControl (QX)
@property (nonatomic, assign)NSTimeInterval needEventInterval; /* 多少秒后再次响应 */
@property (nonatomic, assign, readonly)BOOL ignoreEvent; /*查看当前是否已经停止响应 如果停止响应为YES, 可以再次交互响应为NO; 不是固定的, 取到的值是动态变化的 和needEventIntervaly有关*/
@end
NS_ASSUME_NONNULL_END