react-native/ReactKit/Base/RCTRootView.h

21 lines
484 B
C
Raw Normal View History

2015-01-30 01:10:49 +00:00
// 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