I have a tableview and navigation bar on the top.
I have a Edit button on the left of my navigation bar with the following line of code.
self.navig
Here is a Swift version I used:
override func setEditing(editing: Bool, animated: Bool) { super.setEditing(editing, animated: animated) if editing { } else { } }