react-native-navigation的迁移库

RNNSideMenuChildVC.h 762B

123456789101112131415161718192021222324252627282930
  1. //
  2. // RNNSideMenuChildVC.h
  3. // ReactNativeNavigation
  4. //
  5. // Created by Ran Greenberg on 09/02/2017.
  6. // Copyright © 2017 Wix. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "RNNParentProtocol.h"
  10. typedef NS_ENUM(NSInteger, RNNSideMenuChildType) {
  11. RNNSideMenuChildTypeCenter,
  12. RNNSideMenuChildTypeLeft,
  13. RNNSideMenuChildTypeRight,
  14. };
  15. @interface RNNSideMenuChildVC : UIViewController <RNNParentProtocol>
  16. @property (readonly) RNNSideMenuChildType type;
  17. @property (readonly) UIViewController<RNNParentProtocol> *child;
  18. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  19. @property (nonatomic, retain) RNNBasePresenter* presenter;
  20. -(instancetype) initWithChild:(UIViewController<RNNParentProtocol>*)child type:(RNNSideMenuChildType)type;
  21. @end