When I swipe a UITableView cell, the below code is called:
func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? {
//Problem code
let delBut = UITableViewRowAction(style: UITableViewRowActionStyle(), title: delete_InLocal) { action, index in
//Setup
Now that I've started migrating to Swift 3, I get an error message on the UITableViewRowActionStyle():
Missing argument for parameter 'rawValue' in call
Anyone know what the syntax for Swift 3 is in this situation?
UITableViewRowActionStyle.destructive
– Tirade