title: Is it safe to import a view controller to another controller for segueing?
body: <p>I am currently going through the iTunes U Stanford iOS dev. course and I am trying to utilize segues.</p>
  
  <p>In my prepareForSegue method I am trying to update the data on the transitioning VC and this is my code:</p>
  
  <pre><code>    -(void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
       {
          if([segue.identifier isEqualToString:@"changeToScreen2"])
           {
               if([segue.destinationViewController isKindOfClass:[Screen2ViewController class]])
                  {
                      "Code to be implemented"
                  }
           }
       }
  </code></pre>
  
  <p>But my Screen2ViewController isn't recognized. Is it safe and proper coding technique to import a view controller to another view controller for segueing purposes or is there another method I should implement? </p>
  
  <h2>-------------------------------------------------------------------------------------</h2>
  
  <p><strong>I have a new problem now</strong></p>
  
  <p>When I set the values of a UILabel and UITextView with the aforementioned prepareForSegue method and change to Screen2ViewController the labels and text views have not be updated with the values that I have added. </p>
  
  <pre><code>    Screen2ViewController *S2VC = (Screen2ViewController *)segue.destinationViewController;
      S2VC.myLabel.text = @"Screen 2 is now being viewed";
          S2VC.uneditableText.text = @"Why aren't you showing up when I push you";
  </code></pre>
  
  <p>But these values don't get updated. </p>