#import #import #import "RNNRootViewCreator.h" #import "RNNStore.h" #import "RNNEventEmitter.h" #import "RNNParentProtocol.h" #import "RNNOptionsManager.h" @interface RNNControllerFactory : NSObject -(instancetype)initWithRootViewCreator:(id )creator store:(RNNStore*)store eventEmitter:(RNNEventEmitter*)eventEmitter andBridge:(RCTBridge*)bridge; -(UIViewController *)createLayoutAndSaveToStore:(NSDictionary*)layout; @property (nonatomic, strong) RNNEventEmitter *eventEmitter; @property (nonatomic, strong) RNNOptionsManager *optionsManager; @end