react-native-navigation的迁移库

RNNBasePresenter.h 808B

123456789101112131415161718192021222324
  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)applyOptionsOnWillMoveToParentViewController:(RNNNavigationOptions *)options;
  10. - (void)mergeOptions:(RNNNavigationOptions *)newOptions currentOptions:(RNNNavigationOptions *)currentOptions defaultOptions:(RNNNavigationOptions *)defaultOptions;
  11. - (void)renderComponents:(RNNNavigationOptions *)options perform:(RNNReactViewReadyCompletionBlock)readyBlock;
  12. @end