Created
May 17, 2018 19:46
-
-
Save kashfifahim/53cc12b9212febbf2b63124781f67b18 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().createUser(withEmail: emailTextfield.text!, password: passwordTextfield.text!) { (user, error) in | |
if error != nil { | |
print(error!) | |
} else { | |
print("Registration 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