I would like to know how to show a delete confirmation before a cell removal, (An alert). The cells are characters with info, so it would be bad if a user delete (swipe) one by mistake. 

This is the snippet that allow me to delete my row. Im using Xcode 10 / Swift

```
// Delete Rows
override func tableView(_ tableView: UITableView,
               trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration?
{
    let modifyAction = UIContextualAction(style: .normal, title:  "Delete", handler: { (ac:UIContextualAction, view:UIView, success:(Bool) -> Void) in
        print("Update action ...")
        success(true)

        self.namesArray.remove(at: indexPath.row)
        self.imagesArray.remove(at: indexPath.row)

        self.tableView.deleteRows(at: [indexPath], with: .fade)

    })
    modifyAction.image = UIImage(named: "delete")
    modifyAction.backgroundColor = .purple

    return UISwipeActionsConfiguration(actions: [modifyAction])

}

```