react-native-navigation的迁移库

ReactNativeNavigation.h 726B

12345678910111213141516171819202122
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import <React/RCTBridge.h>
  4. #import <React/RCTUIManager.h>
  5. #import "RNNBridgeManagerDelegate.h"
  6. typedef UIViewController * (^RNNExternalViewCreator)(NSDictionary* props, RCTBridge* bridge);
  7. @interface ReactNativeNavigation : NSObject
  8. + (void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions;
  9. + (void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions bridgeManagerDelegate:(id<RNNBridgeManagerDelegate>)delegate;
  10. + (void)registerExternalComponent:(NSString *)name callback:(RNNExternalViewCreator)callback;
  11. + (UIViewController *)findViewController:(NSString *)componentId;
  12. + (RCTBridge *)getBridge;
  13. @end