Skip to content

Instantly share code, notes, and snippets.

@WildStudio
Created August 15, 2019 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WildStudio/3ebb7ed6e7d3ff2a7d3d572aea994146 to your computer and use it in GitHub Desktop.
Save WildStudio/3ebb7ed6e7d3ff2a7d3d572aea994146 to your computer and use it in GitHub Desktop.
Authentication fail state
struct LoginView: View {
@State var username: String = ""
@State var password: String = ""
@State var authenticationDidFail: Bool = false
var body: some View {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment