I am afraid to set cell's frame
in layoutSubviews
, because I know I want to place cell into 0 origin.x
position, but I am not sure about origin.y
position. But sometimes set only the bounds
so the size
of the cell, has strange effect, i.e. cell 'moves out' from collectionView
.
What do you set frame or bunds in layoutSubviews?