title: Pass data between View Controllers - Storyboards segues
body: <p>I'm not sure why, but it doesn't work in my project. I did exactly the same as in 1 million tutorials. </p>
  
  <p>I have TableViewController with TableView, and simple ViewController for details. </p>
  
  <p>And in detail ViewController in h file I declared: </p>
  
  <pre><code>@property (strong, nonatomic) NSString *testText;
  </code></pre>
  
  <p>then,in m file under @implementation:</p>
  
  <pre><code>@synthesize testText;
  </code></pre>
  
  <p>In TableViewController with list I have:</p>
  
  <pre><code>    //declared above: UIViewController *ticketDetailViewController = [segue destinationViewController];
  
      NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
      NSString *destinationTitle = [[ticketArray objectAtIndex:[indexPath row]] pkey];
      [ticketDetailViewController setTitle:destinationTitle];
  </code></pre>
  
  <p>Everything, work great. Title is correct, so there must be connection. But, now I want pass other data… So I did testText property and I want to access from TableViewController, but I can't:/ </p>
  
  <p>Error says: Property 'testText' not found on object of type 'UIViewController *'</p>
  
  <p>The really strange thing is.. during debugging, there is testText (like on the screen below):</p>
  
  <p><img src="https://i.stack.imgur.com/fK5DY.png" alt="enter image description here"></p>
  
  <p>Although when I want to implement it.. it's not found:</p>
  
  <p><img src="https://i.stack.imgur.com/1w9gi.png" alt="enter image description here"></p>
  
  <p>Anyone understands what is going on? </p>