title: Find the indexPath of a button inside UITableViewCell when button pressed?
body: <p>The code below correctly returns the cell:</p>
  
  <pre><code>func findSuperView(sender:UIButton!) -&gt; UITableViewCell { 
      var superView : UIView? = sender.superview 
      var foundSuperView : UITableViewCell! 
  
      while superView != nil &amp;&amp; foundSuperView == nil { 
          if let cell = superView as? UITableViewCell { 
              foundSuperView = cell 
              break 
          } 
          else { 
              superView = superView?.superview 
          } 
      } 
      return foundSuperView 
  }
  </code></pre>
  
  <p>But for finding indexpath in tableview it crashes:</p>
  
  <pre><code>var indexPath : NSIndexPath = self.table .indexPathForCell(findSuperView(sender))!
  println("Section (indexPath)")
  </code></pre>
  
  <p>And I tried another way, but it was not successful:</p>
  
  <pre><code>var button : UIButton = sender as UIButton; 
  var touch: UITouch = events .allTouches()?.anyObject() as UITouch 
  var location : CGPoint = touch.locationInView(self.table) 
  var indexPath : NSIndexPath = self.table.indexPathForRowAtPoint(location)!
  </code></pre>