react-native-navigation的迁移库

RNNControllerFactory.h 752B

123456789101112131415161718192021222324
  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. @interface RNNControllerFactory : NSObject
  8. -(instancetype)initWithRootViewCreator:(id <RNNRootViewCreator>)creator
  9. store:(RNNStore*)store
  10. eventEmitter:(RNNEventEmitter*)eventEmitter
  11. andBridge:(RCTBridge*)bridge;
  12. -(UIViewController<RNNRootViewProtocol, UIViewControllerPreviewingDelegate> *)createLayoutAndSaveToStore:(NSDictionary*)layout;
  13. - (UIViewController<RNNRootViewProtocol> *)createOverlay:(NSDictionary*)layout;
  14. @property (nonatomic, strong) NSDictionary* defaultOptionsDict;
  15. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  16. @end