[ad_1]
I am attempting to combine my app with YouTube’s information API. I discovered YouTube’s guide for doing so.
Once I tried to make use of the GoogleSignIn SDK in my mission, it was fully totally different from what’s proven within the quickstart information.
Examples:
- When accessing
GIDSignIn.sharedInstance, within the guide it is a perform (GIDSignIn.sharedInstance()), however within the SDK it is a property. - The
GIDSignIn.sharedInstanceproperty has nodelegateproperty. - The
GIDSignIn.sharedInstance.deal withmethodology has just one attribute, as an alternative of three within the guide.
I am utilizing the SPM model of the SDK (model 6.1.0 for GoogleSignIn), the newest Xcode model. The app’s language is Swift.
Does anyone know the place can I discover an up-to-date guide? Or possibly ought to I take advantage of the CocoaPods model (I do not wish to accomplish that, all my different dependencies are from SPM).
[ad_2]
