title: Why is my app crashing when I try to set the value of this variable in prepareForSegue?
body: <p>The gist of what I'm trying to do is set the value of a label on the window I'm segueing to the text that the user entered on the previous window.</p>
  
  <p>The user segues by clicking "Read", which segues them.</p>
  
  <p>Here's my prepareForSegue method:</p>
  
  <pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
      ReadingViewController *destination = segue.destinationViewController;
  
      destination.textToRead = self.textInput.text;
  }
  </code></pre>
  
  <p><code>textToRead</code> is just an NSString object that holds the text that the user enters. (This text is then set as a label with the <code>viewDidLoad</code> method.)</p>
  
  <p>The window that is segued to is set as a different view controller as expected (ReadingViewController) and I created the segue by control-dragging from the "Read" UIButton to the next window.</p>
  
  <p>I can't seem to figure out what the problem is. Here's the error it gives:</p>
  
  <pre><code>2013-03-13 19:00:08.119 Project Lego[1523:c07] -[UINavigationController setTextToRead:]: unrecognized selector sent to instance 0x894d230
  2013-03-13 19:00:08.122 Project Lego[1523:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationController setTextToRead:]: unrecognized selector sent to instance 0x894d230'
  *** First throw call stack:
  (0x1c92012 0x10cfe7e 0x1d1d4bd 0x1c81bbc 0x1c8194e 0x2949 0x45bb87 0x45bc14 0x10e3705 0x172c0 0x17258 0xd8021 0xd857f 0xd76e8 0x46cef 0x46f02 0x24d4a 0x16698 0x1beddf9 0x1bedad0 0x1c07bf5 0x1c07962 0x1c38bb6 0x1c37f44 0x1c37e1b 0x1bec7e3 0x1bec668 0x13ffc 0x244d 0x2375 0x1)
  libc++abi.dylib: terminate called throwing an exception
  (lldb) 
  </code></pre>