Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) {
- if (editingStyle == .delete) {
- // code that's called when user presses delete button
- }
Add Comment
Please, Sign In to add comment