title: Getting info from UITextField inside a cell
body: <p>I have a UITextField inside a custom cell. I have a button in the viewController that I would like to turn red when there is text in the UITextField in the cell. I have created buttons like this when the UITextField has in the viewController but not when the UITextView is inside the cell. How would I go about doing this.</p>
  
  <p>Here is how I would do it is the UITextField was inside the viewController -</p>
  
  <pre><code>- (void)textFieldDidChange:(id)sender {
  
      if (self.schoolText.text.length &gt; 0) {
          self.navigationItem.rightBarButtonItem.tintColor = [UIColor redColor];
      }else{
  
          self.navigationItem.rightBarButtonItem.tintColor = [UIColor colorWithRed:193/255.5 green:193/255.0 blue:193/255.0 alpha:1.0];
  
      }
  
  }
  </code></pre>