react-native-navigation的迁移库

RNNControllerFactory.h 702B

1234567891011121314151617181920212223
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNRootViewCreator.h"
  4. #import "RNNStore.h"
  5. #import "RNNEventEmitter.h"
  6. #import "RNNRootViewProtocol.h"
  7. #import "RNNOptionsManager.h"
  8. @interface RNNControllerFactory : NSObject
  9. -(instancetype)initWithRootViewCreator:(id <RNNRootViewCreator>)creator
  10. store:(RNNStore*)store
  11. eventEmitter:(RNNEventEmitter*)eventEmitter
  12. andBridge:(RCTBridge*)bridge;
  13. -(UIViewController<RNNRootViewProtocol, UIViewControllerPreviewingDelegate> *)createLayoutAndSaveToStore:(NSDictionary*)layout;
  14. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  15. @property (nonatomic, strong) RNNOptionsManager *optionsManager;
  16. @end