title: Show only the first row in a UITableView
body: <p>So, most of the questions are "my tableView only shows the first row, what's wrong?".
  Well, what I need is exactly the opposite.</p>
  
  <p>I have a <code>SearchBar</code> (not <code>Search Display Controller</code>) and until the user starts typing, I want to show ONLY the first row and nothing more.</p>
  
  <p>My <code>TableView</code>'s content is <code>Dynamic Prototypes</code>, with 2 <code>Prototype Cells</code>.
  The first is the only one I want to show, but it shows others in blank.</p>
  
  <p><a href="https://www.dropbox.com/s/q4ak6z3gbc0gh5c/Screenshot%202014-07-22%2011.24.22.png" rel="nofollow">https://www.dropbox.com/s/q4ak6z3gbc0gh5c/Screenshot%202014-07-22%2011.24.22.png</a></p>
  
  <p>This is my <code>tableView:numberOfRowsInSection:</code>.</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
      NSInteger numberOfRows = 0;
  
      if ([self.searchBar.text isEqualToString:@""]) {
          numberOfRows = 1;
      }
  
      return numberOfRows;
  }
  </code></pre>
  
  <p>All the help will be very appreciated! \o/</p>