title: variable value hasn't been changed when transmisson between Views
body: <p>I have two views, for each view I have associated a UIViewController class.<br>
  In view1 (named <strong>RechercherViewController</strong>) I have a simple UITextField in which the user enter something, and then click on a button, when this button is clicked, the user is redirected to view2 (named <strong>StationsSurLaCarteViewController</strong>) and I have to show him, in a UILabel, what he has entered in the previous view. My plan worked pretty good as I want, but for the first essai, I mean the first value is unchanged although the user returned and changed it, he find always(in the label in view2) what he has entered for the first time.
  all declarations are right, and here is my code in the IBAction of the button in view1 :
  <strong>RechercherViewController.m</strong></p>
  
  <pre><code>-(IBAction)goToStationsSurLaCarteView   {
  
        TopStationAppDelegate *topStation=(TopStationAppDelegate *)[[UIApplication sharedApplication]delegate];
      topStation.data=[typeCarburantTextField text];
  
      stationsSurLaCarteViewController.modalTransitionStyle=UIModalTransitionStyleFlipHorizontal;
      [self presentModalViewController:stationsSurLaCarteViewController animated:YES];
  
  
  }
  </code></pre>
  
  <p>and in the second view this code is in the viewDidLoad :
  <strong>StationsSurLaCarte.m:</strong></p>
  
  <pre><code>- (void)viewDidLoad {
  
      TopStationAppDelegate *topStation=(TopStationAppDelegate *)[[UIApplication sharedApplication]delegate];
      [label setText:topStation.data];
  
  
      [super viewDidLoad];
  
  
  
  
  }
  </code></pre>
  
  <p>I don't know but I have doubt if I have missed something which has to be released to have alwayes the new value entered by the user.</p>