react-native-navigation的迁移库

RNNRootViewController.h 1.0KB

12345678910111213141516171819202122232425262728293031323334
  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>
  11. @property (nonatomic, strong) RNNNavigationOptions* navigationOptions;
  12. @property (nonatomic, strong) RNNAnimator* animator;
  13. @property (nonatomic, strong) RNNEventEmitter *eventEmitter;
  14. @property (nonatomic, strong) NSString* componentId;
  15. @property (nonatomic, strong) RNNTopTabsViewController* topTabsViewController;
  16. -(instancetype)initWithName:(NSString*)name
  17. withOptions:(RNNNavigationOptions*)options
  18. withComponentId:(NSString*)componentId
  19. rootViewCreator:(id<RNNRootViewCreator>)creator
  20. eventEmitter:(RNNEventEmitter*)eventEmitter
  21. animator:(RNNAnimator*)animator;
  22. -(void)applyTabBarItem;
  23. -(void)applyTopTabsOptions;
  24. -(BOOL)isCustomTransitioned;
  25. @end