This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429927-beginning-collection-views/lessons/3
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429927-beginning-collection-views/lessons/3
How is the section height determined?
Changing the group height to fractional height (.fractionalHeight(0.6)) or any other value such as 0.5, 0.4, 0.3 has an expected behavior.
Steps to reproduce:
Change background of cell to Purple (Or Any) Color
For the line
let groupSize = NSCollectionLayoutSize(widthDimension: .fractionalWidth(1.0), heightDimension: .fractionalHeight(0.6)
change the value of height dimension to different value, such as 0.5.
You can see that after some cells, there is a very thin white spacing. Not sure where is that coming from?
Will try and replicate this to see what I can find