title: How to set set height of some cells manually when using UITableViewAutomaticDimension?
body: <p>I am using UITableViewAutomaticDimension for setting heights of my UITableView cells. For a filter functionality, I need to hide some cells, and I am going to hide them by setting their height to 0.</p>
  
  <p>However when I override heightForRowAtIndexPath, I need to return some value for the rows I wanna automatically sized too. How do I set it ?</p>
  
  <pre><code>tableView.rowHeight = UITableViewAutomaticDimension
  tableView.estimatedRowHeight = 50
  </code></pre>
  
  <p>,</p>
  
  <pre><code>func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -&gt; CGFloat {
      if shouldHideCell == true{
          return 0
      }else{
          return automaticHeight // I need a value here!!!
      }
  }
  </code></pre>