title: Removing Value from Array when Deselect Cell
body: <p>I'm trying to remove a particular item in the array <code>selectedFoodTypes</code> if a user deselects a row. However, I keep running into the error: </p>
  
  <p><code>fatal error: unexpectedly found nil while unwrapping an Optional value</code></p>
  
  <pre><code>override func tableView(tableView: UITableView, didDeselectRowAtIndexPath indexPath: NSIndexPath) {
      let indexPath = tableView.indexPathForSelectedRow();
      let deselectedCell = tableView.cellForRowAtIndexPath(indexPath!) as UITableViewCell!
      selectedFoodTypes = selectedFoodTypes.filter {$0 != deselectedCell.textLabel!.text!}
      println(selectedFoodTypes)
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/8auHu.png" alt="enter image description here"></p>