Created
July 14, 2020 16:44
-
-
Save stevencurtis/1af8f4f62c8fc6c1a0f8d6b8276e39fc to your computer and use it in GitHub Desktop.
validationsub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let validationSub = loginViewModel?.userValidation | |
.receive(on: RunLoop.main) | |
.assign(to: \.isEnabled, on: loginView.loginButton) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment