title: How can external UITableView delegate hide the UISearchBar keyboard?
body: <p>I have a table view with a data source/delegate in another file. In addition, there is a search bar above the table view that belongs to the first file. In other to hide the keyboard when scrolling, I would need to call:</p>
  
  <pre><code>[self.searchBar resignFirstResponder]
  </code></pre>
  
  <p>But the</p>
  
  <pre><code>(void)scrollViewWillBeginDragging:(UIScrollView *)scrollView
  </code></pre>
  
  <p>method is in the delegate. So how would I hide the keyboard when scrolling in this case?</p>
  
  <p>Thanks!</p>