title: How to focus a UICollectionViewCell in UITableViewCell in tvOS?
body: <h2> Description:</h2>
  
  <p>I have a list of <code>UITableViewCell</code>s that have each have a <code>UICollectionView</code> with X amount of <code>UICollectionViewCell</code>s (see image below for more clarity)</p>
  
  <p>The idea behind this is to be able to implement sections with a header on top and a horizontal scrolling <code>UICollectionView</code></p>
  
  <p>Everything is working great, except when I try to focus the <code>UICollectionViewCell</code>s (aka: <code>CategoryCell</code>). The <code>UITableViewCell</code> gets focused and highlights all the content making it impossible to focus any of the <code>UICollectionViewCell</code>s.</p>
  
  <h2>What I've tried:</h2>
  
  <p>According to other posts the fix for this would be deactivate User Interaction and/or set the selection style to none on the <code>UITableViewCell</code>:</p>
  
  <pre><code>cell.selectionStyle = UITableViewCellSelectionStyle.None
  </code></pre>
  
  <p>and to enable User Interaction on the <code>UICollectionViewCell</code> instead.</p>
  
  <p>Here are posts that talk about it:</p>
  
  <p><a href="https://stackoverflow.com/questions/6579904/uitableviewcell-with-uitextfield-losing-the-ability-to-select-uitableview-row">UITableViewCell with UITextField losing the ability to select UITableView row?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/190908/how-can-i-disable-the-uitableview-selection-highlighting">How can I disable the UITableView selection highlighting?</a></p>
  
  <p>I've attempted to implemen these solutions without success. </p>
  
  <h2>Question:</h2>
  
  <p>What step did I miss? Does the fix not work on tvOS? How do I focus my <code>UICollectionViewCell</code> that is in a <code>UICollectionView</code> that is in a <code>UITableViewCell</code>?</p>
  
  <h2>More:</h2>
  
  <p><a href="https://i.stack.imgur.com/KynnS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KynnS.png" alt="Table View Controller"></a></p>
  
  <p><em>Image showing my UITableViewController and all it's contents from my StoryBoard.</em></p>