title: Update Table View on command from View Controller
body: <p>New to iOS programing and objective-c and am getting stuck on something which I am guessing is simple. Here's my question:</p>
  
  <p>I have a simple, single view application with two text fields, a button and a table view. The idea is that I want to take the text from the two text fields and populate the next available cell in the tableview with this text. I've got everything sorted out except for how to update the contents of the table view on command. Ideally, I'd like the table view to be updated upon pressing the button.</p>
  
  <p>I have a View Controller which is serving as the data source and delegate for the table view.</p>
  
  <p>I am aware of the [tableView reloadData] method, but it requires the appropriate tableView variable within scope. This is fine in say a delegate method like tableView:didSelectRowAtIndexPath, and I've gotten it update upon selection of any cell, but what if I want to update the table view when an action unrelated to the table view is performed, say when the button is pressed? There is no tableView variable in scope of this method to call reloadData from (or is there)?</p>
  
  <p>So I guess my question is: is there a way to access the table view variable from the rest of the view controller for the purpose of calling reloadData OR is there a method I'm not aware of that would facilitate this?</p>
  
  <p>Thanks for any help!</p>