react-native-navigation的迁移库

RNNRootViewController.h 856B

12345678910111213141516171819202122232425262728
  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. animator:(RNNAnimator*)animator;
  19. -(void)applyNavigationButtons;
  20. -(BOOL)isAnimated;
  21. @end