1234567891011121314151617181920212223242526 |
- #import <UIKit/UIKit.h>
- #import "RNNParentProtocol.h"
-
- typedef NS_ENUM(NSInteger, RNNSideMenuChildType) {
- RNNSideMenuChildTypeCenter,
- RNNSideMenuChildTypeLeft,
- RNNSideMenuChildTypeRight,
- };
-
-
- @interface RNNSideMenuChildVC : UIViewController <RNNParentProtocol>
-
- @property (readonly) RNNSideMenuChildType type;
- @property (readonly) UIViewController<RNNLayoutProtocol> *child;
-
- @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
- @property (nonatomic, retain) RNNViewControllerPresenter* presenter;
- @property (nonatomic, strong) RNNNavigationOptions* options;
- @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
-
- - (instancetype)initWithLayoutInfo:(RNNLayoutInfo *)layoutInfo childViewControllers:(NSArray *)childViewControllers options:(RNNNavigationOptions *)options defaultOptions:(RNNNavigationOptions *)defaultOptions presenter:(RNNViewControllerPresenter *)presenter type:(RNNSideMenuChildType)type;
-
- - (void)setWidth:(CGFloat)width;
-
- @end
|