mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
fd8b7dee77
- Unbreak ReactKit | Nick Lockwood - Refactor | Nick Lockwood - [ReactNative] fix touch cancel behavior | Spencer Ahrens - [ReactNative iOS] Fix responder issue with textInput | Eric Vicenti - [ReactNative] README updates - file watching troubleshooting, one-time code drop -> currently private repo | Spencer Ahrens - [ReactKit] Re-add README linebreaks | Ben Alpert
31 lines
816 B
Objective-C
31 lines
816 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "RCTBridgeModule.h"
|
|
#import "RCTInvalidating.h"
|
|
|
|
@class RCTRootView;
|
|
@class RCTShadowView;
|
|
@class RCTSparseArray;
|
|
|
|
@protocol RCTScrollableProtocol;
|
|
|
|
@interface RCTUIManager : NSObject <RCTBridgeModule, RCTInvalidating>
|
|
|
|
@property (nonatomic, strong) RCTSparseArray *shadowViewRegistry;
|
|
@property (nonatomic, strong) RCTSparseArray *viewRegistry;
|
|
@property (nonatomic, weak) id<RCTScrollableProtocol> mainScrollView;
|
|
|
|
/**
|
|
* Allows native environment code to respond to "the main scroll view" events.
|
|
* see `RCTUIManager`'s `setMainScrollViewTag`.
|
|
*/
|
|
@property (nonatomic, readwrite, weak) id<UIScrollViewDelegate> nativeMainScrollDelegate;
|
|
|
|
- (void)registerRootView:(RCTRootView *)rootView;
|
|
|
|
+ (UIView *)JSResponder;
|
|
|
|
@end
|