title: Undeclared identifer error in prepareForSegue : using Storyboards in iOS6
body: <p>I am trying to build a 2 scene application using Storyboards in iOS6.
  I am taking the users name via text input in the first scene and passing it using a push segue to the second scene; where it is displayed in a label.</p>
  
  <p>The first scene's UIViewController is called ViewController and the second scenes UIViewcontroller is DrawViewController.</p>
  
  <p>I have imported the the DrawViewController.h in my ViewController.m file where I have defined the prepareForSegue as below:</p>
  
  <pre><code>  -(void) prepareForSegue:(UIStoryboardSegue *) segue sender:(id) sender{
      if ([segue.identifier isEqualToString:@"ColorPickerControllerSegue"]){
  
          DrawViewController *dvc =[segue destinationViewController];
          dvc.userName= self.userName;
      }
      }
  </code></pre>
  
  <p>Here userName is a NSString defined in DrawViewController.
  I am getting "use of undeclared identifer:DrawViewController".
  I am quite new to iOS programming, so is there something I am missing here?</p>
  
  <p>I have set the second view controller's custom class to DrawViewController.</p>