react-native-navigation的迁移库

RNNControllerFactory.h 621B

12345678910111213141516171819202122
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNRootViewCreator.h"
  4. #import "RNNStore.h"
  5. #import "RNNEventEmitter.h"
  6. #import "RNNParentProtocol.h"
  7. @interface RNNControllerFactory : NSObject
  8. -(instancetype)initWithRootViewCreator:(id <RNNRootViewCreator>)creator
  9. eventEmitter:(RNNEventEmitter*)eventEmitter
  10. andBridge:(RCTBridge*)bridge;
  11. - (UIViewController<RNNParentProtocol> *)createLayout:(NSDictionary*)layout saveToStore:(RNNStore *)store;
  12. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  13. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  14. @end