Created
July 14, 2020 15:55
-
-
Save stevencurtis/e1f21b2168daeb7e840c983cc59facc1 to your computer and use it in GitHub Desktop.
loginviewmodel
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
loginViewModel?.shouldNav | |
.sink(receiveCompletion: { completion in | |
// Handle the error | |
print ("completion\(completion)") | |
}) { [weak self] _ in | |
let mvc = MainMenuViewController() | |
self?.navigationController?.pushViewController(mvc, animated: true) | |
}.store(in: &subscriptions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment