react-native-navigation的迁移库

RNNBasePresenter.h 966B

1234567891011121314151617181920212223242526272829
  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. - (void)bindViewController:(UIViewController *)boundViewController;
  7. - (void)applyOptionsOnInit:(RNNNavigationOptions *)initialOptions;
  8. - (void)applyOptionsOnViewDidLayoutSubviews:(RNNNavigationOptions *)options;
  9. - (void)applyOptions:(RNNNavigationOptions *)options;
  10. - (void)applyOptionsOnWillMoveToParentViewController:(RNNNavigationOptions *)options;
  11. - (void)applyDotIndicator:(UIViewController *)child;
  12. - (void)mergeOptions:(RNNNavigationOptions *)newOptions currentOptions:(RNNNavigationOptions *)currentOptions defaultOptions:(RNNNavigationOptions *)defaultOptions;
  13. - (void)renderComponents:(RNNNavigationOptions *)options perform:(RNNReactViewReadyCompletionBlock)readyBlock;
  14. - (void)viewDidLayoutSubviews;
  15. @end