I need a custom UICollectionViewLayout (not ..FlowLayout!) with the following key features:
- grid layout, like Excel or Numbers
- display a lot of UICollectionViewCells with different styling (different cell styling should be designed in Storyboard)
- horizontally AND vertically scrolling should be possible (therefore no UICollectionViewFlow(!!)Layout)
- first column should not scroll away (only should scroll vertically with the content)
- first row should not scroll away (only should scroll horizontally with the content) --> see attached pictures, a picture shows more than words...
Attached there is also an simple example of an collection view, which has already an custom layout, which scrolls vertically and horizontally...
THE only thing, which was missing, is the sticky header for both, horizontal header and vertical header.
The example is very quick+dirty, please feel free to write an own layout, if this is not a good base.