react-native-navigation的迁移库

RNNBridgeManager.h 397B

12345678910111213
  1. #import <Foundation/Foundation.h>
  2. #import <React/RCTBridge.h>
  3. @interface RNNBridgeManager : NSObject <RCTBridgeDelegate>
  4. - (instancetype)initWithJsCodeLocation:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions;
  5. - (void)registerExternalComponent:(NSString *)name callback:(UIViewController *(^)(void))callback;
  6. @property (readonly, nonatomic, strong) RCTBridge *bridge;
  7. @end