react-native-navigation的迁移库

RNNSideMenuChildVC.h 557B

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