mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08:00
21 lines
484 B
Objective-C
21 lines
484 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@protocol RCTJavaScriptExecutor;
|
|
|
|
@interface RCTRootView : UIView
|
|
|
|
@property (nonatomic, strong) NSURL *scriptURL;
|
|
@property (nonatomic, copy) NSString *moduleName;
|
|
@property (nonatomic, copy) NSDictionary *initialProperties;
|
|
@property (nonatomic, strong) id<RCTJavaScriptExecutor> executor;
|
|
|
|
/**
|
|
* Reload this root view, or all root views, respectively.
|
|
*/
|
|
- (void)reload;
|
|
+ (void)reloadAll;
|
|
|
|
@end
|