瀏覽代碼

Mark +new as unavailable. (#18)

Peter Andrews 4 年之前
父節點
當前提交
3345bcfb7b
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      GoogleSignIn/Sources/Public/GoogleSignIn/GIDConfiguration.h

+ 4 - 0
GoogleSignIn/Sources/Public/GoogleSignIn/GIDConfiguration.h

@@ -37,6 +37,10 @@ NS_ASSUME_NONNULL_BEGIN
 /// Identifier in the OpenID Connect ID token.
 @property(nonatomic, readonly, nullable) NSString *openIDRealm;
 
+/// Unavailable.  Please use `initWithClientID:` or one of the other initializers below.
+/// :nodoc:
++ (instancetype)new NS_UNAVAILABLE;
+
 /// Unavailable.  Please use `initWithClientID:` or one of the other initializers below.
 /// :nodoc:
 - (instancetype)init NS_UNAVAILABLE;