react-native-navigation的迁移库

RNNBridgeManager.h 663B

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