react-native-navigation的迁移库

RNNSideMenuChildVC.h 611B

123456789101112131415161718192021222324252627
  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 "RNNRootViewProtocol.h"
  10. typedef NS_ENUM(NSInteger, RNNSideMenuChildType) {
  11. RNNSideMenuChildTypeCenter,
  12. RNNSideMenuChildTypeLeft,
  13. RNNSideMenuChildTypeRight,
  14. };
  15. @interface RNNSideMenuChildVC : UIViewController <RNNRootViewProtocol>
  16. @property (readonly) RNNSideMenuChildType type;
  17. @property (readonly) UIViewController *child;
  18. -(instancetype) initWithChild:(UIViewController*)child type:(RNNSideMenuChildType)type;
  19. @end