title: Swift selecting rows in TableViewController and opening up a ViewController
body: <p>I started learning App development in Swift recently and I'm still fairly new. I'm trying to make an app where at the home screen, the user will click a button called profiles, and it'll show a list of names in a tableViewController. When the user clicks a name it'll open up the person's profile in a viewController.</p>
  
  <p>I'm stuck so far on what method and what to code in that method to allow the user to click on the list of names in my TableViewController and then open up a viewController for that person. I've already created my other viewController (DetailsViewController) and created a segue between the TableViewController and the DetailsViewController. </p>
  
  <p>I've been searching for a long time on how to do this but couldn't find any luck. If someone could just point me in the right direction that'd be great.</p>