aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/GRPCClient')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.h8
-rw-r--r--src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.h8
-rw-r--r--src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h12
3 files changed, 14 insertions, 14 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.h b/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.h
index 5e35576ea1..738dfdb737 100644
--- a/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.h
+++ b/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.h
@@ -24,12 +24,12 @@ NS_ASSUME_NONNULL_BEGIN
@interface GRPCCronetChannelFactory : NSObject<GRPCChannelFactory>
-+ (instancetype _Nullable)sharedInstance;
++ (nullable instancetype)sharedInstance;
-- (grpc_channel *_Nullable)createChannelWithHost:(NSString *)host
- channelArgs:(NSDictionary *_Nullable)args;
+- (nullable grpc_channel *)createChannelWithHost:(NSString *)host
+ channelArgs:(nullable NSDictionary *)args;
-- (instancetype _Nullable)init NS_UNAVAILABLE;
+- (nullable instancetype)init NS_UNAVAILABLE;
@end
diff --git a/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.h b/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.h
index 98a985fe84..2d471aebed 100644
--- a/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.h
+++ b/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.h
@@ -23,12 +23,12 @@ NS_ASSUME_NONNULL_BEGIN
@interface GRPCInsecureChannelFactory : NSObject<GRPCChannelFactory>
-+ (instancetype _Nullable)sharedInstance;
++ (nullable instancetype)sharedInstance;
-- (grpc_channel *_Nullable)createChannelWithHost:(NSString *)host
- channelArgs:(NSDictionary *_Nullable)args;
+- (nullable grpc_channel *)createChannelWithHost:(NSString *)host
+ channelArgs:(nullable NSDictionary *)args;
-- (instancetype _Nullable)init NS_UNAVAILABLE;
+- (nullable instancetype)init NS_UNAVAILABLE;
@end
diff --git a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
index 02e7052996..5dc5a97312 100644
--- a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
+++ b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
@@ -23,15 +23,15 @@ NS_ASSUME_NONNULL_BEGIN
@interface GRPCSecureChannelFactory : NSObject<GRPCChannelFactory>
-+ (instancetype _Nullable)factoryWithPEMRootCertificates:(NSString *_Nullable)rootCerts
- privateKey:(NSString *_Nullable)privateKey
- certChain:(NSString *_Nullable)certChain
++ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts
+ privateKey:(nullable NSString *)privateKey
+ certChain:(nullable NSString *)certChain
error:(NSError **)errorPtr;
-- (grpc_channel *_Nullable)createChannelWithHost:(NSString *)host
- channelArgs:(NSDictionary *_Nullable)args;
+- (nullable grpc_channel *)createChannelWithHost:(NSString *)host
+ channelArgs:(nullable NSDictionary *)args;
-- (instancetype _Nullable)init NS_UNAVAILABLE;
+- (nullable instancetype)init NS_UNAVAILABLE;
@end