StickyHeadersCollectionView
StickyHeadersCollectionView copied to clipboard
Wrong behaviour if section have no items
to test:
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
if section == 0 {
return 0
}
return Int(arc4random_uniform(10) + 2)
}