react-native-navigation的迁移库

RNNBridgeManager.h 627B

1234567891011121314151617
  1. #import <Foundation/Foundation.h>
  2. #import <React/RCTBridge.h>
  3. typedef UIViewController * (^RNNExternalViewCreator)(NSDictionary* props, RCTBridge* bridge);
  4. @interface RNNBridgeManager : NSObject <RCTBridgeDelegate>
  5. - (instancetype)initWithJsCodeLocation:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions bridgeManagerDelegate:(id<RCTBridgeDelegate>)delegate mainWindow:(UIWindow *)mainWindow;
  6. - (void)registerExternalComponent:(NSString *)name callback:(RNNExternalViewCreator)callback;
  7. @property (readonly, nonatomic, strong) RCTBridge *bridge;
  8. - (void)setJSCodeLocation:(NSURL *)jsCodeLocation;
  9. @end