File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Firebase/Auth/Source/AuthProviders/GameCenter Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 21
21
#import " FIRGameCenterAuthProvider.h"
22
22
#import " FIRVerifyAssertionRequest.h"
23
23
24
+ NS_ASSUME_NONNULL_BEGIN
25
+
24
26
@implementation FIRGameCenterAuthCredential
25
27
26
28
- (nullable instancetype )initWithProvider : (NSString *)provider {
@@ -84,3 +86,5 @@ - (void)encodeWithCoder:(NSCoder *)aCoder {
84
86
}
85
87
86
88
@end
89
+
90
+ NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change 22
22
#import " FIRAuthExceptionUtils.h"
23
23
#import " FIRGameCenterAuthCredential.h"
24
24
25
+ NS_ASSUME_NONNULL_BEGIN
26
+
25
27
@implementation FIRGameCenterAuthProvider
26
28
27
29
- (instancetype )init {
@@ -37,7 +39,7 @@ + (void)getCredentialWithCompletion:(FIRGameCenterCredentialCallback)completion
37
39
checking whether the APP that consuming our SDK has linked GameKit.framework. If not, a
38
40
`GameKitNotLinkedError` will be raised.
39
41
**/
40
- GKLocalPlayer *optionalLocalPlayer = [[NSClassFromString (@" GKLocalPlayer" ) alloc ] init ];
42
+ GKLocalPlayer * _Nullable optionalLocalPlayer = [[NSClassFromString (@" GKLocalPlayer" ) alloc ] init ];
41
43
42
44
if (!optionalLocalPlayer) {
43
45
if (completion) {
@@ -82,3 +84,5 @@ + (void)getCredentialWithCompletion:(FIRGameCenterCredentialCallback)completion
82
84
}
83
85
84
86
@end
87
+
88
+ NS_ASSUME_NONNULL_END
You can’t perform that action at this time.
0 commit comments