1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #import "RNNLayoutInfo.h"
- #import "RNNBasePresenter.h"
- #import "RNNComponentViewCreator.h"
- #import "RNNEventEmitter.h"
-
- typedef void (^RNNReactViewReadyCompletionBlock)(void);
-
- @protocol RNNLayoutProtocol <NSObject, UINavigationControllerDelegate, UIViewControllerTransitioningDelegate, UISplitViewControllerDelegate>
-
- @required
-
- - (instancetype)initWithLayoutInfo:(RNNLayoutInfo *)layoutInfo
- creator:(id<RNNComponentViewCreator>)creator
- options:(RNNNavigationOptions *)options
- defaultOptions:(RNNNavigationOptions *)defaultOptions
- presenter:(RNNBasePresenter *)presenter
- eventEmitter:(RNNEventEmitter *)eventEmitter
- childViewControllers:(NSArray *)childViewControllers;
-
- - (void)render;
-
- - (UIViewController<RNNLayoutProtocol> *)getCurrentChild;
-
- - (CGFloat)getTopBarHeight;
-
- - (CGFloat)getBottomTabsHeight;
-
- - (void)mergeOptions:(RNNNavigationOptions *)options;
-
- - (RNNNavigationOptions *)resolveOptions;
-
- - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
-
- - (void)overrideOptions:(RNNNavigationOptions *)options;
-
- - (void)onChildWillAppear;
-
- - (void)readyForPresentation;
-
- @end
|