react-native-navigation的迁移库

UIViewController+LayoutProtocol.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #import <UIKit/UIKit.h>
  2. #import "RNNEventEmitter.h"
  3. #import "RNNLayoutProtocol.h"
  4. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  5. @interface UIViewController (LayoutProtocol) <RNNLayoutProtocol>
  6. - (void)render;
  7. - (UIViewController *)getCurrentChild;
  8. - (UIViewController *)presentedComponentViewController;
  9. - (UIViewController *)findViewController:(UIViewController *)child;
  10. - (UIViewController *)topMostViewController;
  11. - (void)mergeOptions:(RNNNavigationOptions *)options;
  12. - (void)mergeChildOptions:(RNNNavigationOptions *)options child:(UIViewController *)child;
  13. - (void)onChildAddToParent:(UIViewController *)child options:(RNNNavigationOptions *)options;
  14. - (UINavigationController *)stack;
  15. - (RNNNavigationOptions *)resolveOptions;
  16. - (RNNNavigationOptions *)resolveOptionsWithDefault;
  17. - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
  18. - (void)overrideOptions:(RNNNavigationOptions *)options;
  19. - (void)readyForPresentation;
  20. - (void)componentDidAppear;
  21. - (void)componentDidDisappear;
  22. @property (nonatomic, retain) RNNBasePresenter* presenter;
  23. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  24. @property (nonatomic, strong) RNNNavigationOptions* options;
  25. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  26. @property (nonatomic, strong) RNNEventEmitter* eventEmitter;
  27. @property (nonatomic) id<RNNComponentViewCreator> creator;
  28. @property (nonatomic) RNNReactViewReadyCompletionBlock reactViewReadyCallback;
  29. @property (nonatomic) BOOL waitForRender;
  30. @end