title: Changing UITableViewCell height using tableView.beginUpdates()
body: <p>SO I want to change the height of my UITableViewCell by doing something like this:</p>
  
  
  
  <pre><code>func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
      selectedIndexPath = indexPath
      tableView.beginUpdates()
      tableView.endUpdates()
  }
  
  func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -&gt; CGFloat {
  
      if indexPath == selectedIndexPath {
          return 140
      } else {
          return 90
      }
  }
  </code></pre>
  
  <p>However, the problem is that when I do this, the cell "expands" slower than the content of expanded portion shows, so whatever is in the expanded portion shows before the cell fully expands and it is kind of ugly. This problem can be fixed if I use <code>tableView.reloadRowsAtIndexPaths()</code>, but I don't want to reload the cell because I have a timer displayed in the expanded portion of the cell.</p>