title: Open new View Controller by clicking Cell in Table View - Swift iOS
body: <p>I have the following onClick function</p>
  
  <pre><code>func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
  
      tableView.deselectRowAtIndexPath(indexPath, animated: true)
  
      let row = indexPath.row
      println("Row: \(row)")
  
      println(meetingArray[row] as! String)
  
  }
  </code></pre>
  
  <p>which prints out the text on the cell which is clicked. It is working fine.</p>
  
  <p>I'm just wondering how you would set a function which would direct you to the new view controller</p>