title: Dynamically Changing UITableView's Contents
body: <p>I have an NSURL object which gets data from my site, based on a variable entered by the user into the search bar.</p>
  
  <p>I split this data into an NSArray.</p>
  
  <p>Once I have done that I wish to display the data in a UITableView.</p>
  
  <p>My question is this. Is it possible to load the data into a UITableView dynamically?</p>
  
  <p>i.e. Program loads, no data so UITableView is empty, then the user searches for one variable. Gets some data and the contents is loaded into the UITableView. Searches for a new variable, old data is cleared from UITableView and the new data is added?</p>
  
  <p>I'm currently trying to do this using interface builder, but fear that I may have to make my interface pragmatically, so that I could destroy and re-create the UITableView, but i'm, not sure.</p>
  
  <p>Thanks for any help.</p>