At the moment I'm trying to create an UICollectionView
, that should display a simple excel-like-spreadsheet
, with rows
and columns
. This should be an easy task with UICollectionViews
, I believed. And I really would like to do the implementation in UICollectionView
, not in any grid framework
.
But at the moment I'm hanging a little bit. What I've figured out is, that I unfortunately can't use a UICollectionViewDelegateFlowLayout
, because this only supports scrolling
in either horizontally
or vertically
direction. But I need scrolling
in both directions.
Therefore I have to use a UICollectionViewLayout
, but for this I didn't find good examples, how to use it. Has anyone of you an example, how to subclass an UICollectionViewLayout
to support rows
and columns
?
Thanks in advance.
See Question&Answers more detail:os