Created
October 12, 2016 05:08
-
-
Save Jerry0420/9b28c72272f64d891135a340abca5c83 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 sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) { | |
if error != nil{ | |
print(error) | |
return | |
}else{ | |
print(user.userID) | |
print(user.profile.email) | |
print(user.profile.imageURL(withDimension: 400)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment