UIGestureRecognizer(FWBlock)

@interface UIGestureRecognizer (FWBlock)

/// 从事件句柄初始化
+ (instancetype)gestureRecognizerWithBlock:(void (^)(id sender))block;

@end

Undocumented

  • 从事件句柄初始化

    Declaration

    Objective-C

    + (nonnull instancetype)gestureRecognizerWithBlock:
        (nonnull void (^)(id _Nonnull))block;