react-native-navigation的迁移库

RNNLayoutProtocol.h 855B

123456789101112131415161718192021222324252627
  1. #import "RNNLayoutInfo.h"
  2. #import "RNNViewControllerPresenter.h"
  3. #import "RNNLeafProtocol.h"
  4. @protocol RNNLayoutProtocol <NSObject, UINavigationControllerDelegate, UIViewControllerTransitioningDelegate, UISplitViewControllerDelegate>
  5. @required
  6. @property (nonatomic, retain) RNNBasePresenter* presenter;
  7. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  8. @property (nonatomic, strong) RNNNavigationOptions* options;
  9. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  10. - (UIViewController<RNNLayoutProtocol> *)getCurrentChild;
  11. - (UIViewController<RNNLeafProtocol, RNNLayoutProtocol> *)getCurrentLeaf;
  12. - (void)mergeOptions:(RNNNavigationOptions *)options;
  13. - (RNNNavigationOptions *)resolveOptions;
  14. - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
  15. - (void)overrideOptions:(RNNNavigationOptions *)options;
  16. @end