title: Swift check what way table view is scrolled
body: <p>Is there a function to check what way the table view is scrolled? up/down.</p>
  
  <p>I have an uiView that I need to hide depending on what way is scrolled.</p>
  
  <p>I also have my table view inside an container view.</p>
  
  <p>Thanks</p>