react-native-navigation的迁移库

RNNRootViewController.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  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* 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. -(instancetype)initWithName:(NSString*)name
  18. withOptions:(RNNNavigationOptions*)options
  19. withComponentId:(NSString*)componentId
  20. rootViewCreator:(id<RNNRootViewCreator>)creator
  21. eventEmitter:(RNNEventEmitter*)eventEmitter
  22. isExternalComponent:(BOOL)isExternalComponent;
  23. -(void)applyTabBarItem;
  24. -(void)applyTopTabsOptions;
  25. -(BOOL)isCustomTransitioned;
  26. @end