react-native-navigation的迁移库

UIViewController+LayoutProtocol.h 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 *)topMostViewController;
  10. - (void)mergeOptions:(RNNNavigationOptions *)options;
  11. - (void)mergeChildOptions:(RNNNavigationOptions *)options child:(UIViewController *)child;
  12. - (RNNNavigationOptions *)resolveOptions;
  13. - (RNNNavigationOptions *)resolveOptionsWithDefault;
  14. - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
  15. - (void)overrideOptions:(RNNNavigationOptions *)options;
  16. - (void)readyForPresentation;
  17. - (void)componentDidAppear;
  18. - (void)componentDidDisappear;
  19. @property (nonatomic, retain) RNNBasePresenter* presenter;
  20. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  21. @property (nonatomic, strong) RNNNavigationOptions* options;
  22. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  23. @property (nonatomic, strong) RNNEventEmitter* eventEmitter;
  24. @property (nonatomic) id<RNNComponentViewCreator> creator;
  25. @property (nonatomic) RNNReactViewReadyCompletionBlock reactViewReadyCallback;
  26. @property (nonatomic) BOOL waitForRender;
  27. @end