react-native-navigation的迁移库

ReactNativeNavigation.h 351B

12345678910111213
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. typedef UIViewController * (^RNNExternalViewCreator)(void);
  4. @interface ReactNativeNavigation : NSObject
  5. +(void)bootstrap:(NSURL*)jsCodeLocation launchOptions:(NSDictionary *)launchOptions;
  6. + (void)registerExternalComponent:(NSString *)name callback:(RNNExternalViewCreator)callback;
  7. @end