react-native-navigation的迁移库

RNNBasePresenter.h 706B

1234567891011121314151617181920212223242526
  1. #import <Foundation/Foundation.h>
  2. #import "RNNNavigationOptions.h"
  3. @protocol RNNPresenterDelegate <NSObject>
  4. - (void)optionsUpdated;
  5. @end
  6. @interface RNNBasePresenter : NSObject
  7. @property (nonatomic, weak) id<RNNPresenterDelegate> delegate;
  8. @property (nonatomic, strong) RNNNavigationOptions* options;
  9. - (instancetype)initWithOptions:(RNNNavigationOptions *)options;
  10. - (RNNNavigationOptions *)presentWithChildOptions:(RNNNavigationOptions *)childOptions on:(UIViewController *)viewController;
  11. - (void)present:(RNNNavigationOptions *)options on:(UIViewController *)viewController;
  12. - (void)presentOn:(UIViewController *)viewController;
  13. - (void)overrideOptions:(RNNNavigationOptions *)options;
  14. @end