123456789101112131415161718192021222324252627 |
-
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import "RNNComponentViewCreator.h"
- #import "RNNExternalComponentStore.h"
- #import "RNNEventEmitter.h"
- #import "RNNReactComponentRegistry.h"
- #import "RNNNavigationOptions.h"
-
- @interface RNNControllerFactory : NSObject
-
- -(instancetype)initWithRootViewCreator:(id <RNNComponentViewCreator>)creator
- eventEmitter:(RNNEventEmitter*)eventEmitter
- store:(RNNExternalComponentStore *)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
|