Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UITextField bindings not working on iOS 12 #41

Open
defagos opened this issue Jul 27, 2018 · 2 comments
Open

UITextField bindings not working on iOS 12 #41

defagos opened this issue Jul 27, 2018 · 2 comments

Comments

@defagos
Copy link
Owner

defagos commented Jul 27, 2018

With iOS 12 (at least with beta 4), UITextField bindings do not work anymore.

@defagos
Copy link
Owner Author

defagos commented Jul 27, 2018

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.

@defagos
Copy link
Owner Author

defagos commented Jul 27, 2018

Fixed in commit 369e3e2. I won't merge the fix until iOS 12 is released, though, since this might change with the final version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant