title: UITableViewRowAction not working
body: <p>I have an <code>UITableView</code> that I manage in a controller with <code>UITableViewDelegate</code> and <code>UITableViewDataSource</code>. In this table I have a custom cell, the problem is that the function <code>editActionsForRowAtIndexPath</code> gets called only sometimes (maybe when I swype in a particular way, I don't know),  my code is the following:</p>
  
  <pre><code>func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -&gt; Bool {
      return true
  }
  func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -&gt; [UITableViewRowAction]? {
      let doneAction: UITableViewRowAction
      //let highlightAction: UITableViewRowAction
      if(self.compiti[indexPath.row].completato){
          doneAction = UITableViewRowAction(style: .Normal, title: "Da Fare") { (UITableViewRowAction, indexPath: NSIndexPath!) -&gt; Void in
              let compito = self.compiti[indexPath.row]
              self.db.contrassegnaCompito(compito)
              UITableViewRowAction
         }
          doneAction.backgroundColor = UIColor.redColor()
      }else{
          doneAction = UITableViewRowAction(style: .Normal, title: "Fatto") { (UITableViewRowAction, indexPath: NSIndexPath!) -&gt; Void in
              let compito = self.compiti[indexPath.row]
              self.db.contrassegnaCompito(compito)
          }
          doneAction.backgroundColor = UIColor(red: 67/255, green: 160/255, blue: 71/255, alpha: 0.7)
      }
      return [doneAction]
  }
  </code></pre>