react-native-navigation的迁移库

RNNControllerFactory.h 817B

123456789101112131415161718192021222324252627
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNComponentViewCreator.h"
  4. #import "RNNExternalComponentStore.h"
  5. #import "RNNEventEmitter.h"
  6. #import "RNNReactComponentRegistry.h"
  7. #import "RNNNavigationOptions.h"
  8. @interface RNNControllerFactory : NSObject
  9. -(instancetype)initWithRootViewCreator:(id <RNNComponentViewCreator>)creator
  10. eventEmitter:(RNNEventEmitter*)eventEmitter
  11. store:(RNNExternalComponentStore *)store
  12. componentRegistry:(RNNReactComponentRegistry *)componentRegistry
  13. andBridge:(RCTBridge*)bridge;
  14. - (UIViewController *)createLayout:(NSDictionary*)layout;
  15. - (NSArray *)createChildrenLayout:(NSArray*)children;
  16. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  17. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  18. @end