react-native-navigation的迁移库

RNNSideMenuChildVC.h 968B

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