Skip to content

Releases: thoughtbot/CombineViewModel

Unexpected Recursion

08 Dec 16:15
c722546
Compare
Choose a tag to compare

Fixed an issue where UIViewController.viewDidLoadNotification could unexpectedly be posted multiple times for the same class.

Buckle Up

25 Aug 17:53
b3fa610
Compare
Choose a tag to compare

Fixed:

  • A compiler segfault when building CombineViewModel in Release configuration.

Route Kanal

24 Aug 22:30
19fd07a
Compare
Choose a tag to compare

Added:

  • Bindings is now distributed as part of CombineViewModel!

Changed:

  • ViewModelObserver now inherits from Bindings' BindingOwner protocol. As a result, all objects automatically get a subscriptions property automatically synthesized.

Fixed:

  • Now compiles on macOS, tvOS and watchOS.

“A Red Letter Day”

16 Aug 20:02
7f253f1
Compare
Choose a tag to compare

Changed:

  • The Objective-C runtime support is now implemented in Swift. This allows us to remove the private CombineViewModelObjC target, which polluted auto-complete results and was generally a leaked implementation detail.

Removed:

  • Deleted ViewModelObserver.isReadyForUpdates.

The Best Kind of Correctness

13 Aug 18:40
10bedc2
Compare
Choose a tag to compare

Fixed:

  • ObjectDidChangePublisher now passes through completion events from the observed object's objectWillChange publisher.
  • Improve thread-safety of ObjectDidChangePublisher.

Best in Klass

07 Aug 18:22
8007bfa
Compare
Choose a tag to compare

Fixed:

  • Improve performance of @ViewModel when intercepting viewDidLoad to register an observer (#2).

Point Insertion

03 Aug 19:00
d3609a2
Compare
Choose a tag to compare

The first release of CombineViewModel:

  • View models conform to ObservableObject.
  • View controllers conform to ViewModelObserver.
  • Register for updates using the @ViewModel property wrapper.