title: Passing data between views not working
body: <p>I know this question was asked about a 100 times but I just can't figure out what I'm doing wrong.</p>
  
  <p>This ist my second iOS App. I want to modify a Label in my ViewControllerB by pressing a Button in my ViewControllerA.</p>
  
  <ol>
  <li>I made a Segue in Storyboard from my Button (<code>ViewControllerA</code>) to my <code>ViewControllerB</code> and called it "TestSegue".</li>
  <li>Wrote <code>#import "ViewControllerB.h</code> in my <code>ViewControllerA.h</code></li>
  <li>I wrote this Code in my ViewControllerA.m :</li>
  </ol>
  
  <p><code>
      -(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{</p>
  
  <pre><code>if([segue.identifier isEqualToString:@"TestSegue"]){
  
  ViewControllerB *controller = (ViewControllerB *)segue.destinationViewController;
  controller.TestLabel.text = @"TEST!";}}
  </code></pre>
  
  <p>In my ViewControllerB nothing happens with the TestLabel...</p>
  
  <p>Can anybody see what I did wrong?</p>
  
  <p>Thanks in advance</p>
  
  <p>Edit:
  Works now thanks to rpledge.</p>
  
  <p>New Code:</p>
  
  <p></p>
  
  <pre>-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
  
  if([segue.identifier isEqualToString:@"TestSegue"]){
  
  ViewControllerB *controller = (ViewControllerB *)segue.destinationViewController;
  controller.TestString = @"TEST!";}}
  </code></pre>