title: During prepareForSegue get [UIViewController <null selector>] when try to assign value to property?
body: <p>during the prepareForSegue I try to assign a value to property and get the error</p>
  
  <blockquote>
    <p>2012-05-09 23:14:22.122 LeakSpotter[17709:15b03] <em>*</em> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController setCoordLong:]: unrecognized selector sent to instance 0xa86e930'</p>
  </blockquote>
  
  <p>header:</p>
  
  <pre><code>@property (nonatomic, retain) NSString *CoordLong;
  @property (nonatomic, retain) NSString *CoordLat;
  </code></pre>
  
  <p>They are sythesized.</p>
  
  <blockquote>
    <p>-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{</p>
  </blockquote>
  
  <pre><code>NSLog(@"Fired segue %@", [segue identifier]);
  if([[segue identifier] isEqualToString:@"returnToLeakSpotter"]){
      NSLog(@"Return to leak spotter segue...");
      //ContactsViewController *cvc = (ContactsViewController *)[segue destinationViewController];
  
  }else if ([[segue identifier] isEqualToString:@"gotoTakePhoto"]) {
      NSLog(@"Go to photo view");
      takePhotoViewController *takePhotoC = [segue destinationViewController];
  
      takePhotoC.CoordLong = @"-9.88";
      takePhotoC.CoordLat = @"45.45";
  </code></pre>
  
  <p>Have I missed something obvious?</p>
  
  <p>Thanks</p>