Created
August 11, 2018 18:33
-
-
Save vialyx/61a538f7477193bb9e106819913a3e69 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
switch error { | |
case .empty: | |
print("Please provide email") | |
case .noDomain: | |
print("Add domain") | |
case .invalid: | |
print("Entered email looks like invaid") | |
} | |
if signupError == .invalid { | |
print("Entered email looks like invaid") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment