Created
May 13, 2017 09:22
-
-
Save farhan-syed/6ff0f8257541bdecae108c1c5a1089e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | |
selectedIndex = indexPath.row | |
tableView.deselectRow(at: indexPath, animated: true) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment