12345678910111213141516171819202122232425262728293031323334 |
- #import "RNNLayoutInfo.h"
- #import "RNNBasePresenter.h"
- #import "RNNRootViewCreator.h"
- #import "RNNEventEmitter.h"
-
- typedef void (^RNNReactViewReadyCompletionBlock)(void);
-
- @protocol RNNLayoutProtocol <NSObject, UINavigationControllerDelegate, UIViewControllerTransitioningDelegate, UISplitViewControllerDelegate>
-
- @required
-
- - (instancetype)initWithLayoutInfo:(RNNLayoutInfo *)layoutInfo
- creator:(id<RNNRootViewCreator>)creator
- options:(RNNNavigationOptions *)options
- defaultOptions:(RNNNavigationOptions *)defaultOptions
- presenter:(RNNBasePresenter *)presenter
- eventEmitter:(RNNEventEmitter *)eventEmitter;
-
- - (void)renderTreeAndWait:(BOOL)wait perform:(RNNReactViewReadyCompletionBlock)readyBlock;
-
- - (UIViewController<RNNLayoutProtocol> *)getCurrentChild;
-
- - (void)mergeOptions:(RNNNavigationOptions *)options;
-
- - (RNNNavigationOptions *)resolveOptions;
-
- - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
-
- - (void)overrideOptions:(RNNNavigationOptions *)options;
-
- - (void)onChildWillAppear;
-
- @end
|