title: Swift: Pass UITableViewCell label to new ViewController
body: <p>I have a UITableView that populates Cells with data based on a JSON call. like so: </p>
  
  <pre><code>var items = ["Loading..."]
  var indexValue = 0
  
  // Here is SwiftyJSON code //
  
  for (index, item) in enumerate(json) {
      var indvItem = json[index]["Brand"]["Name"].stringValue
      self.items.insert(indvItem, atIndex: indexValue)
      indexValue++
  }
  self.tableView.reloadData()
  </code></pre>
  
  <p><strong>How do I get the label of the cell when it is selected and then also pass that to another ViewController?</strong> </p>
  
  <p>I have managed to get:</p>
  
  <pre><code>func tableView(tableView: UITableView!, didSelectRowAtIndexPath indexPath: NSIndexPath!) {
      println("You selected cell #\(indexPath.row)!")
  
      // Get Cell Label
      let indexPath = tableView.indexPathForSelectedRow();
      let currentCell = tableView.cellForRowAtIndexPath(indexPath!) as UITableViewCell!;
  
      println(currentCell.textLabel.text)
  }
  </code></pre>
  
  <p>I just cant figure out how to pass that as a variable to the next UIViewController. </p>
  
  <p>Thanks</p>