title: segue not passing data over
body: <p>im still having problems with my segue
  i have at the moment</p>
  
  <pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  {
  // Check that a new transition has been requested to the DetailViewController and prepares for it
  if ([segue.identifier isEqualToString:@"WeddingDetail"]){
  
      // Capture the object (e.g. exam) the user has selected from the list
      NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
      PFObject *object = [self.objects objectAtIndex:indexPath.row];
  
      // Set destination view controller to DetailViewController to avoid the NavigationViewController in the middle (if you have it embedded into a navigation controller, if not ignore that part)
      UINavigationController *nav = [segue destinationViewController];
      DMKWeddingDetailViewController *detailViewController = (DMKWeddingDetailViewController *) nav.nextResponder;
      detailViewController.exam = object;
      NSLog(@"object details: %@",object);
  }
  }
  </code></pre>
  
  <p>i was hoping that exam would hold the data but it isnt the data is held in object. but not sure how to pass object over to detail view controller.</p>
  
  <p>in my detailview controller i have a list if textlabels</p>
  
  <pre><code>self.name.text = [self.exam objectForKey:@"name"];
  </code></pre>
  
  <p>but they are not populating</p>