react-native-navigation的迁移库

RNNRootViewController.h 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #import "RNNTopTabsViewController.h"
  9. #import "RNNRootViewProtocol.h"
  10. @interface RNNRootViewController : UIViewController <RNNRootViewProtocol, UIViewControllerPreviewingDelegate>
  11. @property (nonatomic, strong) RNNNavigationOptions* options;
  12. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  13. @property (nonatomic, strong) NSString* componentId;
  14. @property (nonatomic, strong) RNNTopTabsViewController* topTabsViewController;
  15. @property (nonatomic) id<RNNRootViewCreator> creator;
  16. @property (nonatomic, strong) RNNAnimator* animator;
  17. @property (nonatomic, strong) UIViewController* previewController;
  18. -(instancetype)initWithName:(NSString*)name
  19. withOptions:(RNNNavigationOptions*)options
  20. withComponentId:(NSString*)componentId
  21. rootViewCreator:(id<RNNRootViewCreator>)creator
  22. eventEmitter:(RNNEventEmitter*)eventEmitter
  23. isExternalComponent:(BOOL)isExternalComponent;
  24. -(void)applyTabBarItem;
  25. -(void)applyTopTabsOptions;
  26. -(BOOL)isCustomTransitioned;
  27. @end