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