mirror of
https://github.com/status-im/react-native.git
synced 2025-02-08 07:33:59 +00:00
- Add back providesModule transform to JSAppServer | Joseph Savona - [ReactKit] fix open source performance issue | John Harper - [ReactKit] improve ReactIOSEventEmitter logics | Andrew Rasmussen - [reactkit] fix web view JS executor and bind it to Command-d | John Harper - Removed hardcoded RCTModuleIDs | Nick Lockwood - [ReactKit] Animated GIF support | Alex Akers - [ReactKit] Update RCTBridge to support non-`id` argument types | Alex Akers - [reactkit] fix typo in RCTCopyProperty() change | John Harper - [reactkit] fix shadow view crash on missing properties | John Harper - [reactkit] fix transform keypath | John Harper
37 lines
1.0 KiB
Objective-C
37 lines
1.0 KiB
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "RCTExport.h"
|
|
#import "RCTInvalidating.h"
|
|
|
|
@class RCTBridge;
|
|
@class RCTRootView;
|
|
@class RCTShadowView;
|
|
|
|
@protocol RCTScrollableProtocol;
|
|
@protocol RCTViewNodeProtocol;
|
|
|
|
@interface RCTUIManager : NSObject <RCTNativeModule, RCTInvalidating>
|
|
|
|
- (instancetype)initWithBridge:(RCTBridge *)bridge;
|
|
|
|
@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;
|
|
|
|
+ (UIView <RCTViewNodeProtocol> *)closestReactAncestor:(UIView *)view;
|
|
+ (UIView <RCTViewNodeProtocol> *)closestReactAncestorThatRespondsToTouch:(UITouch *)touch;
|
|
|
|
- (void)registerRootView:(RCTRootView *)rootView;
|
|
|
|
+ (UIView *)JSResponder;
|
|
|
|
@end
|