react-native-navigation的迁移库

RNNRootViewController.h 692B

12345678910111213141516171819202122232425
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNLayoutNode.h"
  4. #import "RNNRootViewCreator.h"
  5. #import "RNNEventEmitter.h"
  6. #import "RNNNavigationOptions.h"
  7. @interface RNNRootViewController : UIViewController
  8. @property (nonatomic, strong) RNNNavigationOptions* navigationOptions;
  9. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  10. @property (nonatomic, strong) NSString* containerId;
  11. -(instancetype)initWithName:(NSString*)name
  12. withOptions:(RNNNavigationOptions*)options
  13. withContainerId:(NSString*)containerId
  14. rootViewCreator:(id<RNNRootViewCreator>)creator
  15. eventEmitter:(RNNEventEmitter*)eventEmitter;
  16. -(void) applyNavigationButtons;
  17. @end