Created
April 5, 2020 13:14
-
-
Save lawreyios/0d463d3370579dc565dee97b395c556a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var body: some View { | |
NavigationView { | |
LoadingView(isShowing: .constant(viewModel.isLoading)) { | |
VStack(alignment: .leading) { | |
self.titleView | |
self.placeHolderTextView | |
self.passwordTextView | |
self.loginButton | |
Spacer() | |
Spacer() | |
}.padding(22.0) | |
} | |
} | |
} | |
private func loginUser() { | |
viewModel.getRandomDog() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment