mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 02:54:42 +00:00
a32be38017
Summary: RCTSurfaceTouchHandler is a complete rewrite of RCTTouchHandler which uses direct Fabric-specific event dispatching pipeline and several new approaches to managing active events (such as high-performant C++ collections, better management of identifier pool, and so on). Besides that, the new implementation is much more W3C compliant that it used to be (see old TODOs near `receiveTouches()` implementation in Javascript). So, touch events work now! Reviewed By: fkgozali Differential Revision: D8246713 fbshipit-source-id: 218dc15cd8f982237de7e2497ff36a7bfe6d37cc
20 lines
396 B
Objective-C
20 lines
396 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* 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;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|