When I scroll the UITableView cell, the following code is called:
func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? {
let delBut = UITableViewRowAction(style: UITableViewRowActionStyle(), title: delete_InLocal) { action, index in
Now that I started migrating to Swift 3, I get an error in UITableViewRowActionStyle ():
Missing argument for 'rawValue' parameter when invoked
Does anyone know what the syntax for Swift 3 is in this situation?
source
share