title: IOS Pass object's reference to UINavigationController child
body: <p>In a <code>ViewController_1</code> I present modally a <code>UINavigationController</code>:</p>
  
  <pre><code>-(void)presentVC {
    UINavigationController *navVC = [self.storyboard instantiateViewControllerWithIdentifier:@"someName"];
    navVC.HASearch = self.HASearch;
    [self presentViewController:navVC animated:YES completion:nil];
  }
  </code></pre>
  
  <p>But I would like to pass the reference of <code>ViewController_1</code>'s object <code>HASearch</code> to the <code>UINvavigationController</code>'s child View Controller instead of <code>UINvavigationController</code> itself, in order to modify it in that child View Controller.</p>
  
  <p>I'm trying different methods to pass it or to refer to that object in <code>ChildVC</code>, but unfortunately none of these work:</p>
  
  <ol>
  <li>Instantiate the object in presentVC method by calling <code>navVC.childViewControllers</code></li>
  <li>Refer to the NavVC property in ChildVC: <code>self.navigationController.HASearch = ...</code></li>
  </ol>
  
  <p>Any other way to accomplish that?</p>