title: Swift 2 didSelectRowAtIndexPath UIAlertController push segue to TVC with 4 strings
body: <p>I'm having some trouble passing the value of four labels from my alert Controller to a new cell in another tableViewController. I'm not sure I'm using the best method to pass it on the "add" action.</p>
  
  <p>Here are the relevant snippets -></p>
  
  <p><strong><em>ProductTableViewController.swift</em></strong></p>
  
  <pre><code>override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
      let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! ProductTableViewCell
      // Get the row data for the selected row
      let product = frc.objectAtIndexPath(indexPath) as! ProductItem
  
      cell.productcodeLabel.text = product.productcode
      cell.detailLabel.text = product.detail
      cell.quantityLabel.text = "MOQ \(product.quantity as! Double)"
      cell.barcodeLabel.text = product.barcode
  
   //MARK: - Add Item Alert
      var quantityTextField = UITextField()
  
      let alertController = UIAlertController(title: "\(product.detail!)\n \("MOQ \(product.quantity as! Double)")", message: nil, preferredStyle: .Alert)
      let cancelAction = UIAlertAction(title: "Cancel", style: .Default, handler: {(alert: UIAlertAction!) in print("Cancel Button Pressed")
           alertController.dismissViewControllerAnimated(true, completion: nil)
      })
  
      let action = UIAlertAction(title: "Add", style: .Default, handler: { (action) -&gt; Void in
          // Now do whatever you want with inputTextField (remember to unwrap the optional)
          quantityTextField = alertController.textFields![0] as UITextField
          print("Add Button Pressed")
          print("You entered \(product.productcode!) \(quantityTextField.text!)")
  
          let storyBoard = UIStoryboard(name: "Main", bundle: nil)
          let orderVC = storyBoard.instantiateViewControllerWithIdentifier("addProduct") as! OrderViewController
          orderVC.productcodeString = product.productcode! as String!
          orderVC.detailString = product.detail! as String!
          orderVC.quantityString = quantityTextField.text! as String!
          orderVC.barcodeString = product.barcode! as String!
  
          self.navigationController?.pushViewController(orderVC, animated: true)
  
  
      })
  
          alertController.addTextFieldWithConfigurationHandler{ (quantityTextField) -&gt; Void in
          quantityTextField.placeholder = "Enter quantity here..."
          quantityTextField.font = UIFont.systemFontOfSize(15)
          quantityTextField.autocorrectionType = UITextAutocorrectionType.No
          quantityTextField.keyboardType = UIKeyboardType.NumberPad
          quantityTextField.returnKeyType = UIReturnKeyType.Done
          quantityTextField.clearButtonMode = UITextFieldViewMode.WhileEditing;
          quantityTextField.contentVerticalAlignment = UIControlContentVerticalAlignment.Center
          quantityTextField.delegate = self
  
          }
  
  
      alertController.addAction(cancelAction)
      alertController.addAction(action)
  
      self.presentViewController(alertController, animated: true, completion:{})
  
      }
  </code></pre>
  
  <p><strong><em>OrderViewController.swift</em></strong></p>
  
  <pre><code>class OrderViewController: UITableViewController{
  
  var productcodeString = String()
  var detailString = String()
  var quantityString = String()
  var barcodeString = String()
  
  override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCellWithIdentifier("OrderCell", forIndexPath: indexPath) as! OrderTableViewCell
  
      // Configure the cell...
      cell.productcodeLabel.text = productcodeString
      cell.detailLabel.text = detailString
      cell.quantityLabel.text = "X \(quantityString)"
      cell.barcodeLabel.text = barcodeString
  
      return cell
     }
  </code></pre>
  
  <p>The segue "addProduct" is drawn from productTVC to orderVC tableviews in the storyboard as a show detail segue.</p>
  
  <p>I get a LLDB in console on the line
  let orderVC = storyBoard.instantiateViewControllerWithIdentifier("addProduct") as! OrderViewController
  warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available.</p>
  
  <p>I hope somebody can help me with this drama as im a little lost.</p>