28 lines
943 B
C
28 lines
943 B
C
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
#import <React/RCTBridgeModule.h>
|
||
|
#import <React/RCTUIManager.h>
|
||
|
|
||
|
@interface RNGestureHandlerManager : NSObject
|
||
|
|
||
|
- (nonnull instancetype)initWithUIManager:(nonnull RCTUIManager *)uiManager
|
||
|
eventDispatcher:(nonnull RCTEventDispatcher *)eventDispatcher;
|
||
|
|
||
|
- (void)createGestureHandler:(nonnull NSString *)handlerName
|
||
|
tag:(nonnull NSNumber *)handlerTag
|
||
|
config:(nonnull NSDictionary *)config;
|
||
|
|
||
|
- (void)attachGestureHandler:(nonnull NSNumber *)handlerTag
|
||
|
toViewWithTag:(nonnull NSNumber *)viewTag;
|
||
|
|
||
|
- (void)updateGestureHandler:(nonnull NSNumber *)handlerTag config:(nonnull NSDictionary *)config;
|
||
|
|
||
|
- (void)dropGestureHandler:(nonnull NSNumber *)handlerTag;
|
||
|
|
||
|
- (void)handleSetJSResponder:(nonnull NSNumber *)viewTag
|
||
|
blockNativeResponder:(nonnull NSNumber *)blockNativeResponder;
|
||
|
|
||
|
- (void)handleClearJSResponder;
|
||
|
|
||
|
@end
|