title: Dynamic height for a UITableView based on a dynamic collection view
body: <p>I have to add a <code>UICollectionView</code> inside a <code>UITableViewCell</code>.
  The <code>collectionView</code> can have a different number of items.
  So the <code>collectionView</code> should adjust properly inside the <code>tableView</code>.</p>
  
  <p>I have implemented this inside my Project:
  <a href="https://github.com/vishalwaka/DynamicCollectionViewInsideTableViewCell" rel="nofollow noreferrer">https://github.com/vishalwaka/DynamicCollectionViewInsideTableViewCell</a></p>
  
  <p>In my case, the height of the cell is not being the adjusted after the height of the <code>collectionView</code> is set.</p>
  
  <p>How can I set the <code>collectionView</code> to not be scrollable and also show all content inside the <code>tableviewcell</code>.</p>