func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { usernameToSend = usernames[indexPath.row] performSegue(withIdentifier: SegueIdentifier.showUserDetails, sender: nil) }
A Case For Using Storyboards on iOS
Marin Benčević
62835

To be fair, when implementing a segue in the storyboard, this while function disappears, since we connect the segue directly to the cell.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.