react-native-navigation的迁移库

RNNRootViewController.h 800B

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. #import "RNNAnimator.h"
  8. @interface RNNRootViewController : UIViewController <UINavigationControllerDelegate>
  9. @property (nonatomic, strong) RNNNavigationOptions* navigationOptions;
  10. @property (nonatomic, strong) RNNAnimator* animator;
  11. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  12. @property (nonatomic, strong) NSString* containerId;
  13. -(instancetype)initWithName:(NSString*)name
  14. withOptions:(RNNNavigationOptions*)options
  15. withContainerId:(NSString*)containerId
  16. rootViewCreator:(id<RNNRootViewCreator>)creator
  17. eventEmitter:(RNNEventEmitter*)eventEmitter;
  18. -(void) applyNavigationButtons;
  19. @end