react-native-navigation的迁移库

RNNControllerFactory.h 808B

123456789101112131415161718192021222324252627
  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. #import "RNNReactComponentRegistry.h"
  8. @interface RNNControllerFactory : NSObject
  9. -(instancetype)initWithRootViewCreator:(id <RNNRootViewCreator>)creator
  10. eventEmitter:(RNNEventEmitter*)eventEmitter
  11. store:(RNNStore *)store
  12. componentRegistry:(RNNReactComponentRegistry *)componentRegistry
  13. andBridge:(RCTBridge*)bridge;
  14. - (UIViewController<RNNParentProtocol> *)createLayout:(NSDictionary*)layout;
  15. - (NSArray<RNNLayoutProtocol> *)createChildrenLayout:(NSArray*)children;
  16. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  17. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  18. @end