UIGestureRecognizer+Blocks.h 407 B

12345678910111213141516171819202122
  1. //
  2. // UIGestureRecognizer+Blocks.h
  3. // FLEX
  4. //
  5. // Created by Tanner Bennett on 12/20/19.
  6. // Copyright © 2020 FLEX Team. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void (^GestureBlock)(UIGestureRecognizer *gesture);
  10. @interface UIGestureRecognizer (Blocks)
  11. + (instancetype)flex_action:(GestureBlock)action;
  12. @property (nonatomic, setter=flex_setAction:) GestureBlock flex_action;
  13. @end