Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Releases: apptekstudios/ASCollectionView

V1.4.2

31 Mar 12:32
d03a4ed

Choose a tag to compare

  • Reintroduces automatic cell-caching for improved performance
  • Improve tableview cell resizing (on invalidateLayout call)
  • Move canExceedCollectionSize to SelfSizingConfig (instead of environment)
  • Fix lingering cell refresh issues

V1.4.1

31 Mar 08:40
298daaf

Choose a tag to compare

  • Reintroduces automatic cell-caching for improved performance
  • Improve tableview cell resizing (on invalidateLayout call)

V1.4

29 Mar 04:33
b7c407f

Choose a tag to compare

  • Improve automatic cell-caching so that on-screen cells are not needlessly recreated
  • Improve shrinkToSize support, no longer requiring a binding
  • Changed selection API to be on a per-section basis. Refer to the Waterfall demo page to see an example of how to track this across many sections.
  • Add support for shouldAllowSelection and shouldAllowDeselection → fix #115
  • Add a PodSpec (cocoapods support). Thanks @kerrmarin

V1.3.2 - Minor cell lifecycle changes

16 Mar 13:26
9f08c82

Choose a tag to compare

This version changes some cell lifecycle code under the hood to improve performance. It is a known issue that some environment objects are not correctly passed down to the cells, this is a SwiftUI bug; The workaround is to pass the environment objects directly when defining the contents of your section.

V1.3.1

10 Mar 11:41

Choose a tag to compare

  • Implement cacheCells modifier to allow for marking sections that should be cached even when moving off screen (eg. for nested collectionViews)

V1.3

05 Mar 11:26
c2a95f5

Choose a tag to compare

  • Allow to disable default animation on data refresh (#87 thanks @cederache)
    • note that animation is now disabled by default
  • Improve self-sizing config options + Add support for constraining cells to fit within contentSize of collectionView
  • Improve sectionBuilder function-builder (fix #97)
  • Add support for UIContextMenuConfiguration (fix #77)
  • Support for section headers in ASWaterfallLayout
  • Add perSection configuration support to ASWaterfallLayout
  • Workaround for bug where SwiftUI does not add the view controller to a parent
  • Add pullToRefresh to collectionView (#107 thanks @cederache)
  • Fix a number of leaks due to closure implicit captures

V1.2.2

06 Jan 03:21
c730c2e

Choose a tag to compare

  • Make ASCollectionView importable by old projects ( Thanks to @grangej )
  • Minor bug-fixes
  • ASTableView support for OnPullToRefresh, OnSwipeToDelete
  • Fix static section content reloading

V1.2.1

01 Jan 07:42

Choose a tag to compare

  • Add support for onReachedBoundary closure
  • Improve initial loading of data
  • Implement DataSource support for RandomAccessCollection (allows use of FetchedResults directly)

V1.2

01 Jan 05:41
ddce07c

Choose a tag to compare

  • Add support for onReachedBoundary closure
  • Improve initial loading of data
  • Implement DataSource support for RandomAccessCollection (allows use of FetchedResults directly)

V1.1.6

26 Nov 03:51

Choose a tag to compare

  • Maintain scroll position on orientation change
  • Add option for initialScrollPosition
  • Add support for shrinking the collectionView to fit its content