message: Moved method higher up
diff: }
  }
  +- (void)didMoveToWindow
  +{
  + [super didMoveToWindow];
  + UIView *parentView = (UIView *)self.superview;
  + while (!self.navigationController.parentViewController && parentView) {
  + if (parentView.reactViewController) {
  + [parentView.reactViewController addChildViewController:self.navigationController];
  + }
  + parentView = parentView.superview;
  + }
  +}
  +
  - (void)notifyForBoundsChange:(NVSceneController *)controller
  {
  [_bridge.uiManager setSize:controller.view.bounds.size forView:controller.view];
  }
  }
  -- (void)didMoveToWindow
  -{
  - [super didMoveToWindow];
  - UIView *parentView = (UIView *)self.superview;
  - while (!self.navigationController.parentViewController && parentView) {
  - if (parentView.reactViewController) {
  - [parentView.reactViewController addChildViewController:self.navigationController];
  - }
  - parentView = parentView.superview;
  - }
  -}
  -
  @end
  @implementation UIViewController (Navigation)
  