|
@@ -10,19 +10,20 @@ typedef void (^RNNTransitionRejectionBlock)(NSString *code, NSString *message, N
|
10
|
10
|
|
11
|
11
|
@interface RNNStore : NSObject
|
12
|
12
|
|
13
|
|
--(UIViewController*) findComponentForId:(NSString*)componentId;
|
14
|
|
--(void) setComponent:(UIViewController*)viewController componentId:(NSString*)componentId;
|
15
|
|
--(void) removeComponent:(NSString*)componentId;
|
16
|
|
--(void) removeComponentByViewControllerInstance:(UIViewController*)componentInstance;
|
|
13
|
+- (UIViewController*)findComponentForId:(NSString*)componentId;
|
|
14
|
+- (void)setComponent:(UIViewController*)viewController componentId:(NSString*)componentId;
|
|
15
|
+- (void)removeComponent:(NSString*)componentId;
|
|
16
|
+- (void)removeComponentByViewControllerInstance:(UIViewController*)componentInstance;
|
|
17
|
+- (void)removeAllComponents;
|
17
|
18
|
|
18
|
19
|
- (void)registerExternalComponent:(NSString *)name callback:(RNNExternalViewCreator)callback;
|
19
|
20
|
- (UIViewController *)getExternalComponent:(NSString *)name props:(NSDictionary*)props bridge:(RCTBridge*)bridge;
|
20
|
21
|
|
21
|
|
--(NSString*)componentKeyForInstance:(UIViewController*)instance;
|
|
22
|
+- (NSString*)componentKeyForInstance:(UIViewController*)instance;
|
22
|
23
|
|
23
|
|
--(void) setReadyToReceiveCommands:(BOOL)isReady;
|
24
|
|
--(BOOL) isReadyToReceiveCommands;
|
|
24
|
+- (void)setReadyToReceiveCommands:(BOOL)isReady;
|
|
25
|
+- (BOOL)isReadyToReceiveCommands;
|
25
|
26
|
|
26
|
|
--(void) clean;
|
|
27
|
+- (void)clean;
|
27
|
28
|
|
28
|
29
|
@end
|