iOS Swift - Lists and Data Display
Identify the error in this code snippet inside
tableView(_:leadingSwipeActionsConfigurationForRowAt:):
let editAction = UIContextualAction(style: .normal, title: "Edit") { action, view, completion in
print("Edit tapped")
completion()
}
return UISwipeActionsConfiguration(actions: [editAction])