title: How to add CollectionView to TableViewCell and detect when CollectionView finish loading cells to request TableViewCell height update
body: <p>I want to add a dynamic <code>UICollectionView</code> inside dynamic <code>UITableViewCell</code>, which automatically should update its height when <code>CollectionView</code> receives and prepares <code>contentView</code>.
  What is a good method to achieve it?
  I tried few, but code becomes a bit messy, and was hopping there is a bette way.</p>
  
  <p>Is it possible to detect when <code>CollectionView</code> <code>contentView</code> finish loading, i.e. frame is updated?</p>
  
  <p>Is it ok to request tableView cell height updates from collectionView <code>cellForItemAtIndexPath</code>?</p>
  
  <p><em>Looking for solution without storyboards and constraints.</em></p>