12345678910111213141516171819202122 |
- #import <Foundation/Foundation.h>
- #import "RCTBridgeModule.h"
- #import <UIKit/UIKit.h>
-
- @interface RCCManager : NSObject
-
- + (instancetype)sharedInstance;
- + (instancetype)sharedIntance;
-
- -(void)initBridgeWithBundleURL:(NSURL *)bundleURL;
- -(void)initBridgeWithBundleURL:(NSURL *)bundleURL launchOptions:(NSDictionary *)launchOptions;
- -(RCTBridge*)getBridge;
- -(UIWindow*)getAppWindow;
-
- -(void)registerController:(UIViewController*)controller componentId:(NSString*)componentId componentType:(NSString*)componentType;
- -(id)getControllerWithId:(NSString*)componentId componentType:(NSString*)componentType;
- -(void)unregisterController:(UIViewController*)vc;
-
- -(void)clearModuleRegistry;
-
- @end
|