title: [UIViewController setRecipeName:]: unrecognized selector sent to instance
body: <p>I am(from java); new to objective c and xcode. Below is the code which is building fine but throwing <code>unrecognized selector sent to instance</code>. I tried to fix it by googling.. but no luck.</p>
  
  <pre><code>if ([segue.identifier isEqualToString:@"myAccSegue"]) {
      MyAccountController *destViewController = segue.destinationViewController;
      NSString *s = @"avcd";//[_carImages objectAtIndex: (NSUInteger)index.section ];
      destViewController.recipeName=s;
  }
  </code></pre>
  
  <p>and MyAccountController is:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @interface MyAccountController : UITableViewController
  
  @property NSInteger index;
  
  @property (nonatomic,strong) NSString *recipeName;
  
  @end
  </code></pre>
  
  <p>in MyAccountController.m i wrote <code>@synthesise recipeName</code>. When i run i get the error</p>
  
  <pre><code>2013-06-29 23:02:28.962 abcd[9171:c07] -[UIViewController setRecipeName:]: unrecognized selector sent to instance 0x7560cc0
  </code></pre>
  
  <p>A little debuggng shows ox7560cc0 belongs to <code>destinationViewController</code>. Not sure what has gone wrong.. </p>
  
  <p>Any help please?</p>