title: How pass data in seque ios5 storyboard uitableview to detail view
body: <p>I'm creating an app in ios5 using storyboards. I have a tableviewcontroller embedded in a navigation controller and when you click on the cells in the tableviewcontroller some detail about that cell topic should be passed to a detail view. I use a plist to populate the tableview and the detail view. I've done this fine without using storyboard but want to learn how to use storyboard. I have seque going to my detail view from the tableviewcontroller.</p>
  
  <p>My code for the seque is:</p>
  
  <pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  {
      if ([segue.identifier isEqualToString:@"DetailViewControllerSeque"])
      {   DetailViewController *detailViewController = [segue destinationViewController];  
          NSString *path = [[NSBundle mainBundle] bundlePath];
          NSString *finalPath = [path stringByAppendingPathComponent:@"questList.plist"];
          NSArray *tempArray = [finalPath valueForKey:@"description"];
          NSString *descriptionString = [tempArray valueForKey:@"description"];
          detailViewController.detailDescriptionText.text = descriptionString;    
      }
  }
  </code></pre>
  
  <p>Thanks for any help.</p>