Skip to content

Releases: klundberg/KRLCollectionViewGridLayout

Release v0.2.0

23 Jan 06:03
Compare
Choose a tag to compare
  • Added support for headers and footers, via the headerReferenceSize and footerReferenceSize properties.
    • Headers and footers behave similarly to UICollectionViewFlowLayout. In vertical mode, only the height of the reference size is considered. In horizontal mode, only the width is considered.
    • Headers/footers are inset by the sectionInset, and are separated from the cells by the line spacing.

Some layout bugfixes

10 Jul 04:34
Compare
Choose a tag to compare
  • Fixed a bug where horizontal scrolling layouts did not lay cells out correctly
  • Fixed a bug where changing the size of the collection view did not properly invalidate the layout and force a recalculation of attribute frames.