title: code scroll to next row in table view?
body: <p>So in my project there is a tableview with each row populated with an image from parse. i was hoping to disable user scroll and have a button scroll down to the next row instead. is this possible?</p>
  
  <p>Figured it out</p>
  
  <pre><code>let button = sender as! UIButton
  let view = button.superview!
  let cell = view.superview as! &lt;cellname&gt;
  
  let indexPath = tableView.indexPathForCell(cell)
  
  let row = indexPath?.row
  
  tableView.scrollToRowAtIndexPath(NSIndexPath(forRow: row!+1, inSection: 0), atScrollPosition: UITableViewScrollPosition.Top, animated: false)
  </code></pre>