react-native-navigation的迁移库

RNNNavigationController.m 547B

1234567891011121314151617181920212223242526
  1. //
  2. // RNNNavigationController.m
  3. // ReactNativeNavigation
  4. //
  5. // Created by Ran Greenberg on 27/12/2016.
  6. // Copyright © 2016 Wix. All rights reserved.
  7. //
  8. #import "RNNNavigationController.h"
  9. @interface RNNNavigationController ()
  10. @end
  11. @implementation RNNNavigationController
  12. -(instancetype)initWithRootViewController:(UIViewController*)rooViewController props:(NSDictionary*)props {
  13. if (!rooViewController) return nil;
  14. self = [super initWithRootViewController:rooViewController];
  15. if (!self) return nil;
  16. return self;
  17. }
  18. @end