react-native-navigation的迁移库

RNNBasePresenter.h 992B

12345678910111213141516171819202122232425262728293031
  1. #import "RNNNavigationOptions.h"
  2. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  3. @interface RNNBasePresenter : NSObject
  4. @property(nonatomic, weak) id boundViewController;
  5. @property(nonatomic, strong) NSString *boundComponentId;
  6. - (instancetype)initWithDefaultOptions:(RNNNavigationOptions *)defaultOptions;
  7. - (void)bindViewController:(UIViewController *)boundViewController;
  8. - (void)applyOptionsOnInit:(RNNNavigationOptions *)initialOptions;
  9. - (void)applyOptionsOnViewDidLayoutSubviews:(RNNNavigationOptions *)options;
  10. - (void)applyOptions:(RNNNavigationOptions *)options;
  11. - (void)applyOptionsOnWillMoveToParentViewController:(RNNNavigationOptions *)options;
  12. - (void)applyDotIndicator:(UIViewController *)child;
  13. - (void)mergeOptions:(RNNNavigationOptions *)newOptions currentOptions:(RNNNavigationOptions *)currentOptions;
  14. - (void)renderComponents:(RNNNavigationOptions *)options perform:(RNNReactViewReadyCompletionBlock)readyBlock;
  15. - (void)viewDidLayoutSubviews;
  16. @end