RCTTouchHandler.h 495 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <UIKit/UIKit.h>
  8. #import <React/RCTFrameUpdate.h>
  9. @class RCTBridge;
  10. @interface RCTTouchHandler : UIGestureRecognizer
  11. - (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
  12. - (void)attachToView:(UIView *)view;
  13. - (void)detachFromView:(UIView *)view;
  14. - (void)cancel;
  15. @end