react-native-navigation的迁移库

RNNSideMenuChildVC.h 834B

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