Skip to content

Instantly share code, notes, and snippets.

@stevencurtis
Created May 6, 2020 13:11
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 stevencurtis/3e30737a891f36d8c9e22eacb3cf7ecd to your computer and use it in GitHub Desktop.
Save stevencurtis/3e30737a891f36d8c9e22eacb3cf7ecd to your computer and use it in GitHub Desktop.
UITableViewDelegateperformSegue
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