title: How do you get the indexpath.row when a button in a cell is tapped?
body: <p>When a button in a table row cell is pressed, it will activate this function ( just print the indexrow number of the row pressed)</p>
  
  <pre><code>@IBAction func tickAction(sender: UIButton) {
  
      let button = sender as UIButton
      let view = button.superview!
      let cells = view.superview as TableViewCell
  
      let indexPath = TableViewController.indexPath(cells)//itemTable.indexPathForCell(cells)   &lt;--ERROR here
  
      println(indexPath)
  }
  </code></pre>