Created
May 6, 2020 13:11
-
-
Save stevencurtis/3e30737a891f36d8c9e22eacb3cf7ecd to your computer and use it in GitHub Desktop.
UITableViewDelegateperformSegue
This file contains 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
extension ViewController: UITableViewDelegate { | |
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | |
performSegue(withIdentifier: "detail", sender: nil) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment