react-native-navigation的迁移库

RCCManager.h 687B

12345678910111213141516171819202122
  1. #import <Foundation/Foundation.h>
  2. #import "RCTBridgeModule.h"
  3. #import <UIKit/UIKit.h>
  4. @interface RCCManager : NSObject
  5. + (instancetype)sharedInstance;
  6. + (instancetype)sharedIntance;
  7. -(void)initBridgeWithBundleURL:(NSURL *)bundleURL;
  8. -(void)initBridgeWithBundleURL:(NSURL *)bundleURL launchOptions:(NSDictionary *)launchOptions;
  9. -(RCTBridge*)getBridge;
  10. -(UIWindow*)getAppWindow;
  11. -(void)registerController:(UIViewController*)controller componentId:(NSString*)componentId componentType:(NSString*)componentType;
  12. -(id)getControllerWithId:(NSString*)componentId componentType:(NSString*)componentType;
  13. -(void)unregisterController:(UIViewController*)vc;
  14. -(void)clearModuleRegistry;
  15. @end