react-native-navigation的迁移库

RCCManager.h 852B

1234567891011121314151617181920212223242526
  1. #import <Foundation/Foundation.h>
  2. #import <React/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)setAppStyle:(NSDictionary*)appStyle;
  12. -(NSDictionary*)getAppStyle;
  13. -(NSDictionary*)getLaunchArgs;
  14. -(void)registerController:(UIViewController*)controller componentId:(NSString*)componentId componentType:(NSString*)componentType;
  15. -(id)getControllerWithId:(NSString*)componentId componentType:(NSString*)componentType;
  16. -(void)unregisterController:(UIViewController*)vc;
  17. -(NSString*) getIdForController:(UIViewController*)vc;
  18. -(void)clearModuleRegistry;
  19. @end