Skip to content

Instantly share code, notes, and snippets.

@pgpt10
Created November 2, 2017 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgpt10/4e972bdac59f41893c5dc495b8b69d45 to your computer and use it in GitHub Desktop.
Save pgpt10/4e972bdac59f41893c5dc495b8b69d45 to your computer and use it in GitHub Desktop.
func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool
{
return true
}
func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]?
{
//An array of UITableViewRowAction objects representing the actions for the row.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment