Now I'm trying to implement Google Login. I followed like this : https://developers.google.com/identity/sign-in/ios/sign-in?ver=swift
But I got a error in AppDelegate.swift :
class AppDelegate: UIResponder, UIApplicationDelegate, GIDSignInDelegate
....
error :
Type 'AppDelegate' does not conform to protocol 'GIDSignInDelegate'
Help me.
You need to implement these two methods of GIDSignInDelegate
in your AppDelegate
.
func sign(_ signIn: GIDSignIn!, didDisconnectWith user: GIDGoogleUser!, withError error: Error!) {
}
func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) {
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With