Releases: thoughtbot/CombineViewModel
Releases · thoughtbot/CombineViewModel
Unexpected Recursion
Buckle Up
Route Kanal
Added:
- Bindings is now distributed as part of CombineViewModel!
Changed:
ViewModelObserver
now inherits from Bindings'BindingOwner
protocol. As a result, all objects automatically get asubscriptions
property 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:
ObjectDidChangePublisher
now passes through completion events from the observed object'sobjectWillChange
publisher.- Improve thread-safety of
ObjectDidChangePublisher
.
Best in Klass
Fixed:
- Improve performance of
@ViewModel
when interceptingviewDidLoad
to 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
@ViewModel
property wrapper.