react-native-navigation的迁移库

RNNSideMenuChildVC.h 752B

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