Skip to content

Instantly share code, notes, and snippets.

@flexaddicted
Created February 20, 2015 10:48
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 flexaddicted/407cbdf4a62d24d7aaea to your computer and use it in GitHub Desktop.
Save flexaddicted/407cbdf4a62d24d7aaea to your computer and use it in GitHub Desktop.
func tableView(tableView: UITableView, didEndEditingRowAtIndexPath indexPath: NSIndexPath) {
if(self.swipeGestureStarted) {
self.swipeGestureStarted = false
self.tableView.selectRowAtIndexPath(self.selectedIndexPath, animated: true, scrollPosition: .None)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment