Skip to content

Commit

Permalink
Temporary fix to address issue introduced while adding support for is…
Browse files Browse the repository at this point in the history
…sue #18.

I may need to rename these delegate methods since UITableViewController uses its default implementation when not overrides.
  • Loading branch information
jerkoch committed Mar 17, 2017
1 parent 36b8487 commit 841163a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Example/MailExample/MailViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ extension MailViewController: SwipeTableViewCellDelegate {
return options
}

override func tableView(_ tableView: UITableView, willBeginEditingRowAt indexPath: IndexPath) {
}


override func tableView(_ tableView: UITableView, didEndEditingRowAt indexPath: IndexPath?) {
}

func configure(action: SwipeAction, with descriptor: ActionDescriptor) {
action.title = descriptor.title(forDisplayMode: buttonDisplayMode)
action.image = descriptor.image(forStyle: buttonStyle, displayMode: buttonDisplayMode)
Expand Down

0 comments on commit 841163a

Please sign in to comment.