react-native-navigation的迁移库

RNNControllerFactory.h 1.0KB

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