I have an editable tableView. when i click on the bar button the table becomes editable (a delete button will appear in front of each cell).
When i also slide a cell in the tableview, the delete button gets displayed. I need to know the method that gets executed when i slide to the cell to delete the record of that cell.
I am hoping to change the Edit barbutton to done when the user slides the cell. So how can i do this programatically.
Sorry and i don’t have any code to demonstrate.
This is the line you need to add in
viewDidLoadto add edit button which gets converted to Done when you touch it.This is the description for
editButtonItem:Returns a bar button item that toggles its title and associated state between Edit and Done.
This is the DataSource method which gets called when you Click
EditI hope this helps.