CoconutKit
CoconutKit copied to clipboard
UITextField bindings not working on iOS 12
With iOS 12 (at least with beta 4), UITextField
bindings do not work anymore.
The issue is related to the fact that UITextField
now implements -didMoveToWindow
without calling the super method implementation. Since bindings are set at the UIView
level by swizzling this method, they therefore break for UITextField
.
Fixed in commit 369e3e2967ce45bde4fbd0b3925202994ad91fee. I won't merge the fix until iOS 12 is released, though, since this might change with the final version.