react-native-navigation的迁移库

RNNSideMenuChildVC.h 1007B

123456789101112131415161718192021222324252627
  1. #import <UIKit/UIKit.h>
  2. #import "RNNParentProtocol.h"
  3. #import "RNNViewControllerPresenter.h"
  4. typedef NS_ENUM(NSInteger, RNNSideMenuChildType) {
  5. RNNSideMenuChildTypeCenter,
  6. RNNSideMenuChildTypeLeft,
  7. RNNSideMenuChildTypeRight,
  8. };
  9. @interface RNNSideMenuChildVC : UIViewController <RNNParentProtocol>
  10. @property (readonly) RNNSideMenuChildType type;
  11. @property (readonly) UIViewController<RNNLayoutProtocol> *child;
  12. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  13. @property (nonatomic, retain) RNNViewControllerPresenter* presenter;
  14. @property (nonatomic, strong) RNNNavigationOptions* options;
  15. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  16. - (instancetype)initWithLayoutInfo:(RNNLayoutInfo *)layoutInfo childViewControllers:(NSArray *)childViewControllers options:(RNNNavigationOptions *)options defaultOptions:(RNNNavigationOptions *)defaultOptions presenter:(RNNViewControllerPresenter *)presenter type:(RNNSideMenuChildType)type;
  17. - (void)setWidth:(CGFloat)width;
  18. @end