mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D22887857 fbshipit-source-id: 97194737a5c7c83f0ff9b35d90608c5e7e9b6bab
25 lines
538 B
Objective-C
25 lines
538 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RCTSurfaceTouchHandler : UIGestureRecognizer
|
|
|
|
- (void)attachToView:(UIView *)view;
|
|
- (void)detachFromView:(UIView *)view;
|
|
|
|
/*
|
|
* Offset of the attached view relative to the root component in points.
|
|
*/
|
|
@property (nonatomic, assign) CGPoint viewOriginOffset;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|