title: Populate UIView with UIVIewController in a Navigation Based App
body: <p>I'm making a test application for listing movies in a Navigation Based Application using data from a plist file that I read in my appDelegate in the <code>application:didFinishLaunchingWithOptions:</code>. When I try to go to the second detailViewController I get the title partially changed (I get the title of the movie but instead of the year in the <code>UIView.title</code> I get something like "78898320" &amp; empty UIImageView &amp; UILabels. What am I missing?</p>
  
  <p><img src="https://i.stack.imgur.com/b7yuD.png" alt="Populated from my app rootViewController"></p>
  
  <p><img src="https://i.stack.imgur.com/GjhRR.png" alt="Populated from my app detailViewController"></p>
  
  <p>Here is my method in the rootViewController:</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath     *)indexPath
  {
  NSLog(@"YOU SELECTED: %d",indexPath.row);
  
  detailViewController *detailView = [[detailViewController alloc] initWithNibName:@"detailViewController" bundle:nil];
  
  NSDictionary *dict = [NSDictionary dictionaryWithDictionary:
                        [movies objectAtIndex:indexPath.row]];
  
  [detailView fill:dict];
  
  [self.navigationController pushViewController:detailView animated:YES];
  [detailView release];
  
  }
  </code></pre>
  
  <p>Here is my method for filling the UIView in the detailViewController:</p>
  
  <pre><code>-(void)fill: (NSDictionary*) fillData
  {
  //movie = [NSDictionary dictionaryWithDictionary:fillData];
  NSLog(@"DETAILS: %@",[fillData objectForKey:@"description"]);
  
  self.title = [NSString stringWithFormat:@"%@ (%d)",
                [fillData objectForKey:@"title"],
                [fillData objectForKey:@"year"]];
  //[movie objectForKey:@"title"];
  self.img = [[UIImageView alloc] initWithImage:
              [UIImage imageNamed:[fillData objectForKey:@"image"]]];
  self.description = [fillData objectForKey:@"description"];
  self.cast = [fillData objectForKey:@"cast"];
  }
  </code></pre>
  
  <p>When I try to print the description from the dictionary using NSLog it prints out fine.</p>