Created
August 5, 2018 22:56
-
-
Save Arrlindii/4ddb2a213d7a5aa35edad27b9f6320b9 to your computer and use it in GitHub Desktop.
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
func validate() { | |
if Validator().isEmailValid(email:emailTextField.text) { | |
validatedEmail = emailTextField.text | |
}else { | |
showAlert(for: "Invalid Email") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment