title: editActionsForRowAtIndexPath is not working
body: <p>I'm developing a small app using Swift, an UITableView to show custom cells, and then I would like to swipe to edit to do that I use the following code : </p>
  
  <pre><code> func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! BasicCell
          cell.Name.text = contacts[indexPath.row].Name
          cell.Phone.text = contacts[indexPath.row].Phone
          cell.ProfilPic.load(contacts[indexPath.row].ProfilPic!)
          cell.ProfilPic.layer.masksToBounds = true
          cell.ProfilPic.layer.cornerRadius = CGRectGetWidth(cell.ProfilPic.frame)/2.0
  
  
  
  
          return cell
      }
  
  
  
      func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -&gt;  [UITableViewRowAction]?{
          let delete = UITableViewRowAction(style: .Normal, title: "Delete") { action, index in
              print("delete")
          }
          let done = UITableViewRowAction(style: .Default, title: "Done") { action, index in
              print("done")
          }
          return [delete, done]
      }
  
      func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -&gt; Bool {
          // the cells you would like the actions to appear needs to be editable
          return true
      }
  
      func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) {
          // you need to implement this method too or you can't swipe to display the actions
      }
  </code></pre>
  
  <p>the problem is when I swipe a cell, buttons are not showing :</p>
  
  <p><a href="https://i.stack.imgur.com/XEIX9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XEIX9.png" alt="enter image description here"></a></p>