title: removeFromSuperView() and cells = fatal error: unexpectedly found nil while unwrapping an Optional value
body: <p>I'm doing a little UITableView with a CustomCell in a XIB.</p>
  
  <p>I want to remove views if a bool says FALSE.</p>
  
  <p>So what I did was a little func : </p>
  
  <pre><code>func deleteStackOrNot(valeurPLIST: Bool, stack: UIStackView) {
  if valeurPLIST {
      stack.hidden = false
  
  } else {
      stack.removeFromSuperview()
        }
  }
  </code></pre>
  
  <p>and then : </p>
  
  <pre><code>deleteStackOrNot((corpusArray[indexPath.row]["iconesNPBool"] as! Bool), stack: cell.iconesStackOutlet)
  </code></pre>
  
  <p>It's working great on the first scroll down, on 2 cells. However, when I'm scrolling back to the first cell, I get :</p>
  
  <pre><code>fatal error: unexpectedly found nil while unwrapping an Optional value
  </code></pre>
  
  <p>Pointing on the function call.</p>
  
  <p>I guess I've removed the outlet, like, "for ever", and now xcode doesnt seems to be able to recreate it… </p>
  
  <p>I've also tried with .hidden but I need to remove it, since the constraints stays when the view is hidden.</p>
  
  <p>What do you think ?</p>