Created
May 17, 2018 19:46
-
-
Save kashfifahim/44df9251b9364f91bdd0a65eecd4395d 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
Auth.auth().signIn(withEmail: emailTextfield.text!, password: passwordTextfield.text!) { (user, error) in | |
if error != nil { | |
print(error!) | |
} else { | |
print("Log in successful!") | |
SVProgressHUD.dismiss() | |
self.performSegue(withIdentifier: "goToChat", sender: self) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment