Releases: thoughtbot/CombineViewModel
Releases · thoughtbot/CombineViewModel
Unexpected Recursion
Buckle Up
Route Kanal
Added:
- Bindings is now distributed as part of CombineViewModel!
Changed:
ViewModelObservernow inherits from Bindings'BindingOwnerprotocol. As a result, all objects automatically get asubscriptionsproperty automatically synthesized.
Fixed:
- Now compiles on macOS, tvOS and watchOS.
“A Red Letter Day”
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
Fixed:
ObjectDidChangePublishernow passes through completion events from the observed object'sobjectWillChangepublisher.- Improve thread-safety of
ObjectDidChangePublisher.
Best in Klass
Fixed:
- Improve performance of
@ViewModelwhen interceptingviewDidLoadto register an observer (#2).
Point Insertion
The first release of CombineViewModel:
- View models conform to
ObservableObject. - View controllers conform to
ViewModelObserver. - Register for updates using the
@ViewModelproperty wrapper.