react-native-navigation的迁移库

12345678910111213141516171819202122232425
  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. -(void)registerController:(UIViewController*)controller componentId:(NSString*)componentId componentType:(NSString*)componentType;
  14. -(id)getControllerWithId:(NSString*)componentId componentType:(NSString*)componentType;
  15. -(void)unregisterController:(UIViewController*)vc;
  16. -(NSString*) getIdForController:(UIViewController*)vc;
  17. -(void)clearModuleRegistry;
  18. @end