ASCollectionView Versions Save

A SwiftUI collection view with support for custom layouts, preloading, and more.

1.4.2

4 years ago
  • 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

1.4.1

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

1.4.0

4 years ago
  • 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

1.3.2

4 years ago

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.

1.3.1

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

1.3.0

4 years ago
  • 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

1.2.2

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

1.2.1

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

1.2.0

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

1.1.6

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