title: Anyobject to string when appending an array
body: <p>I'm trying to get the name in the <code>textLabel</code> of the first cell that is being checked in my <code>tableView</code>, but I can't seem to get the <code>AnyObject</code> converted to a string. My error says:</p>
  
  <pre><code>fatal error: unexpectedly found nil while unwrapping an Optional value
  </code></pre>
  
  <p>and it appears in the last line of my code. </p>
  
  <pre><code>var stringList = [String]()
  
  override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
  
      let mySelectedCell: UITableViewCell = tableView.cellForRowAtIndexPath(indexPath)!
  
      if (mySelectedCell.accessoryType == UITableViewCellAccessoryType.Checkmark) {
          mySelectedCell.accessoryType = UITableViewCellAccessoryType.None           
      }
      else {
          mySelectedCell.accessoryType = UITableViewCellAccessoryType.Checkmark
          mySelectedCell.tintColor = UIColor.blackColor()
  
          if let tx = mySelectedCell.textLabel?.text as Optional{
  
              stringList.append(tx)}
           }        
      }
  }
  
  override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
      var destVC: AddFriendViewController = segue.destinationViewController as AddFriendViewController
  
          destVC.viewOut.text! = stringList[0] as String
  }
  </code></pre>
  
  <p>Any thoughts on how to proceed would be appreciated.</p>
  
  <p><strong>EDIT: The destination VC's code:</strong></p>
  
  <pre><code>@IBOutlet weak var usernameLabel: UITextField!
  
  @IBOutlet weak var viewOut: UITextField!
  
  var viewer:String = String()
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      viewOut.text = viewer
  
      // Do any additional setup after loading the view.
  }
  </code></pre>
  
  <p><strong>EDIT 2: By replacing the <code>prepareForSegue</code> function I got rid of my error, but the label still doesn't show any text.</strong></p>
  
  <pre><code>func friendAdded(){
  
      var destVC: AddFriendViewController = AddFriendViewController()
          destVC.viewer = stringList[0]    
  }
  </code></pre>