title: Disable vertical scrolling in UICollectionView programmatically
body: <p>I have a <code>UICollectionView</code> in a <code>UITableViewCell</code>.  The height of the table view cell is set to the height of the collection view so the collection view only scrolls horizontally.</p>
  
  <p>Sometimes when scrolling in the table view the collection view will capture the vertical scrolls and bounce scroll vertically.  I've set the <code>height</code> to <code>0</code> in <code>-collectionViewContentSize</code> in my custom layout.</p>
  
  <p>How do I completely disable vertical scrolling in a collection view?</p>