Skip to content

Releases: jessesquires/ReactiveCollectionsKit

0.1.8

14 Oct 19:55
557c222
Compare
Choose a tag to compare
  • Allow setting a UICollectionViewDelegateFlowLayout object to receive flow layout events from the collection view. (@jessesquires, #134)
  • Swift Concurrency improvements:
    • @MainActor annotations have been removed from most top-level types and protocols, instead opting to apply @MainActor to individual members only where necessary. (@jessesquires, #135)
    • DiffableViewModel is now marked as Sendable. This means Sendable also applies to CellViewModel, SupplementaryViewModel, SectionViewModel, and CollectionViewModel. (@jessesquires, #137)
  • Various performance improvements. Notably, when configuring CollectionViewDriver to perform diffing on a background queue via CollectionViewDriverOptions.diffOnBackgroundQueue, more operations are now performed in the background that were previously running on the main thread. (@jessesquires, #136, #137, @lachenmayer, #138)

Full Changelog: 0.1.7...0.1.8

0.1.7

03 Oct 00:45
765f14b
Compare
Choose a tag to compare
  • Upgraded to Xcode 16. (@jessesquires, #116)
  • Reverted back to Swift 5 language mode because of issues in UIKit. (@jessesquires, #116)
  • Applying a snapshot using reloadData now always occurs on the main thread. (@jessesquires, #116)
  • Implemented additional selection APIs for CellViewModel: shouldSelect, shouldDeselect, didDeselect(). (@nuomi1, #127)
  • Allow setting a UIScrollViewDelegate object to receive scroll view events from the collection view. (@ruddfawcett, #131, #133)

Full Changelog: 0.1.6...0.1.7

0.1.6

02 Sep 17:42
c697cfa
Compare
Choose a tag to compare
  • Fixed a potential crash (in DiffableDataSource) when hiding a collection view before animations complete when diffing. This may have caused a crash with the message Fatal error: Attempted to read an unowned reference but the object was already deallocated. (@lachenmayer, #125, #126)

Full Changelog: 0.1.5...0.1.6

0.1.5

13 Aug 18:05
ef9db7a
Compare
Choose a tag to compare
  • Implemented didHighlight() and didUnhighlight() APIs for CellViewModel. (@nuomi1, #123)

Full Changelog: 0.1.4...0.1.5

0.1.4

06 Aug 15:59
f74a0f4
Compare
Choose a tag to compare
  • Implemented willDisplay() and didEndDisplaying() APIs for both CellViewModel and SupplementaryViewModel. (@nuomi1, #121)

Full Changelog: 0.1.3...0.1.4

0.1.3

26 Jul 21:18
bb82005
Compare
Choose a tag to compare
  • Improve debug descriptions for CollectionViewModel and SectionViewModel (@nuomi1, #119, #120)

Full Changelog: 0.1.2...0.1.3

0.1.2

13 Jul 21:22
6f7116f
Compare
Choose a tag to compare
  • Fixed bug when chaining multiple calls to eraseToAnyViewModel() for both CellViewModel and and SupplementaryViewModel. Previously, it was possible "double erase" a view model by calling eraseToAnyViewModel() multiple times, thus actually losing type information. Now, consecutive calls to eraseToAnyViewModel() have no effect. (@nuomi1, #117)

Full Changelog: 0.1.1...0.1.2

0.1.1

01 Jul 21:58
095d6b7
Compare
Choose a tag to compare

Minor documentation updates.

Full Changelog: 0.1.0...0.1.1

0.1.0

01 Jul 01:58
a02c3fd
Compare
Choose a tag to compare

Initial release. 🎉

Read the docs here.

Note: despite being a 0.1 release, this library is ready to use! I do not expect major API churn. I'm only being cautious with versioning for now while continuing to collect feedback on the API.