12345678910111213141516171819 |
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import <React/RCTBridge.h>
- #import "RNNBridgeManagerDelegate.h"
-
- typedef UIViewController * (^RNNExternalViewCreator)(NSDictionary* props, RCTBridge* bridge);
-
- @interface ReactNativeNavigation : NSObject
-
- + (void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions;
-
- + (void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions bridgeManagerDelegate:(id<RNNBridgeManagerDelegate>)delegate;
-
- + (void)registerExternalComponent:(NSString *)name callback:(RNNExternalViewCreator)callback;
-
- + (RCTBridge *)getBridge;
-
- @end
|