react-native-navigation的迁移库

UIViewController+LayoutProtocol.h 1.2KB

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