react-native-navigation的迁移库

RNNBasePresenter.h 883B

1234567891011121314151617181920212223242526
  1. #import "RNNNavigationOptions.h"
  2. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  3. @interface RNNBasePresenter : NSObject
  4. @property (nonatomic, weak) id bindedViewController;
  5. @property (nonatomic, strong) NSString* bindedComponentId;
  6. - (void)bindViewController:(UIViewController *)bindedViewController;
  7. - (void)applyOptionsOnInit:(RNNNavigationOptions *)initialOptions;
  8. - (void)applyOptions:(RNNNavigationOptions *)options;
  9. - (void)applyOptionsOnSetViewControllers:(RNNNavigationOptions *)options;
  10. - (void)applyOptionsOnWillMoveToParentViewController:(RNNNavigationOptions *)options;
  11. - (void)mergeOptions:(RNNNavigationOptions *)newOptions currentOptions:(RNNNavigationOptions *)currentOptions defaultOptions:(RNNNavigationOptions *)defaultOptions;
  12. - (void)renderComponents:(RNNNavigationOptions *)options perform:(RNNReactViewReadyCompletionBlock)readyBlock;
  13. @end