Last active
May 15, 2021 13:30
-
-
Save thatswiftguy/1d700e1534e1a714f7cb2fdb29c8a666 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
func singUp(){ | |
Auth.auth().createUser(withEmail: email, password: password) { (result, error) in | |
guard error == nil else { | |
print(error!.localizedDescription) | |
return | |
} | |
print("WE have Signed Up") | |
} | |
} | |
func signIn(){ | |
Auth.auth().signIn(withEmail: email, password: password) { (result, error) in | |
guard error == nil else { | |
print(error!.localizedDescription) | |
return | |
} | |
print("We are Loged In") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment