Open malhal opened 4 years ago
I was able to reproduce this. I wonder if UIStepper
lost its key-value observability in iOS 13 or 13.4?
Possibly, in general UIKit isn't supposed to be KVO compliant. That's probably why AppKit bind uses constants like NSValueBinding instead of key paths which I assume adds a target/action.
As a possible workaround, if you're committed to using RZDataBinding, would be to subclass UIStepper, have it send a change
action to itself, and in the handler, send will/did change messages for the value
key path. It's not elegant, but it may be the only way to fix something like this.
Xcode Version 11.4 13.4 iOS Simulator iPad Pro 9.7"