react-native-navigation的迁移库

RNNLayoutProtocol.h 919B

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