title: passing a string from a table view controller to a new view controller
body: <p>objective-c and ios newbie here but I'm learning!</p>
  
  <p>name is a string in descs. I'm trying to pass it to a new view controller through detailViewController.note. I can see in debugging that the string is being saved in detailViewController.note ,but when I go over to my other view controller it is not there. </p>
  
  <p>here is the code from my table view controller:  </p>
  
  <pre><code>  -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
      {
  
          [tableView deselectRowAtIndexPath:indexPath animated:NO];
  
          DetailViewController *detailViewController = [[DetailViewController alloc]init];
          detailViewController.view.frame=self.view.frame;
          detailViewController.title=@"detail";
          detailViewController.note=[self.descs[indexPath.row]name];
          [[self navigationController] pushViewController:detailViewController animated:YES];
  
  
      }
  </code></pre>
  
  <p>Header for DetailViewController:</p>
  
  <pre><code>@interface DetailViewController : UIViewController
  @property (nonatomic) NSString * note;
  @end
  </code></pre>
  
  <p>Implementation for DetailViewController:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      UITextView *description =[[UITextView alloc]initWithFrame:CGRectMake(12,260,300,180)];
      description.font=[UIFont fontWithName:@"Helvetica" size:15];
      description.editable=NO;
      description.text=self.note;
      [self.view addSubview:description];
  }
  </code></pre>
  
  <p>Thanks in advance for your help!</p>