#import #import #import "RNNComponentViewCreator.h" #import "RNNExternalComponentStore.h" #import "RNNEventEmitter.h" #import "RNNReactComponentRegistry.h" #import "RNNNavigationOptions.h" #import "BottomTabsAttachModeFactory.h" @interface RNNControllerFactory : NSObject -(instancetype)initWithRootViewCreator:(id )creator eventEmitter:(RNNEventEmitter*)eventEmitter store:(RNNExternalComponentStore *)store componentRegistry:(RNNReactComponentRegistry *)componentRegistry andBridge:(RCTBridge*)bridge bottomTabsAttachModeFactory:(BottomTabsAttachModeFactory *)bottomTabsAttachModeFactory; - (UIViewController *)createLayout:(NSDictionary*)layout; - (NSArray *)createChildrenLayout:(NSArray*)children; @property (nonatomic, strong) RNNEventEmitter *eventEmitter; @property (nonatomic, strong) RNNNavigationOptions* defaultOptions; @end