title: Setting content offset of a UITableView not working when it's scrolling
body: <p>Here's my code</p>
  
  <pre><code>// 1
  func scrollViewDidEndDragging(scrollView: UIScrollView, willDecelerate decelerate: Bool) {
    scrollTableView()
  }
  
  // 2
  @IBAction func buttonPressed() {
    scrollTableView()
  }
  
  // 3
  func scrollTableView() {
    tableView.setContentOffset(CGPointZero, animated: false)
    // tableView.scrollRectToVisible(CGRect(x: 0, y: 0, width: 1, height: 1), animated:true) // does not work either
  }
  </code></pre>
  
  <p>Even <strong>method 1</strong> (who calls method 3) being called, the Table View continues its natural scrolling decelerating until it stops. It does not position itself where I want.</p>
  
  <p>When the Table View is not scrolling and I call <strong>method 2</strong> by pressing a button it does get its content offset set and it positions where it should.</p>
  
  <p>How can I get it to work by being called in the <strong>method 1</strong>?</p>
  
  <p>Thanks</p>