2019-10-16 20:03:47 +03:00
|
|
|
/*
|
2019-03-28 23:44:57 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-03-23 23:28:42 +03:00
|
|
|
*
|
2018-02-17 05:24:55 +03:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-03-23 23:28:42 +03:00
|
|
|
*/
|
2015-02-20 07:10:52 +03:00
|
|
|
|
2021-05-18 06:01:26 +03:00
|
|
|
#import <React/RCTUIKit.h> // TODO(macOS GH#774)
|
2015-02-20 07:10:52 +03:00
|
|
|
|
2016-11-23 18:47:52 +03:00
|
|
|
#import <React/RCTFrameUpdate.h>
|
2015-02-27 15:05:35 +03:00
|
|
|
|
2015-02-20 07:10:52 +03:00
|
|
|
@class RCTBridge;
|
|
|
|
|
2015-04-17 14:02:37 +03:00
|
|
|
@interface RCTTouchHandler : UIGestureRecognizer
|
2015-02-20 07:10:52 +03:00
|
|
|
|
2015-03-02 02:33:55 +03:00
|
|
|
- (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
|
2017-01-09 11:09:38 +03:00
|
|
|
|
2019-08-06 03:31:18 +03:00
|
|
|
- (void)attachToView:(RCTUIView *)view; // TODO(macOS ISS#3536887)
|
|
|
|
- (void)detachFromView:(RCTUIView *)view; // TODO(macOS ISS#3536887)
|
2017-01-09 11:09:38 +03:00
|
|
|
|
2016-01-22 00:43:58 +03:00
|
|
|
- (void)cancel;
|
2021-05-18 06:01:26 +03:00
|
|
|
#if TARGET_OS_OSX // [TODO(macOS GH#774)
|
2019-03-01 21:09:07 +03:00
|
|
|
- (void)willShowMenuWithEvent:(NSEvent*)event;
|
2021-05-18 06:01:26 +03:00
|
|
|
#endif // ]TODO(macOS GH#774)
|
2015-02-20 07:10:52 +03:00
|
|
|
|
|
|
|
@end
|