From f9d2510d8f655badea3dea14493b6d4d3882705a Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 26 Oct 2018 11:15:16 -0700 Subject: [PATCH] Specify nullability in ProtoRPC --- src/objective-c/ProtoRPC/ProtoRPC.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h index 635ba0c90ee..b0f4ced99e8 100644 --- a/src/objective-c/ProtoRPC/ProtoRPC.h +++ b/src/objective-c/ProtoRPC/ProtoRPC.h @@ -134,10 +134,11 @@ __attribute__((deprecated("Please use GRPCProtoCall."))) @interface ProtoRPC * addr and the port number, for example @"localhost:5050". */ - - (instancetype)initWithHost : (NSString *)host method - : (GRPCProtoMethod *)method requestsWriter : (GRXWriter *)requestsWriter responseClass - : (Class)responseClass responsesWriteable - : (id)responsesWriteable NS_DESIGNATED_INITIALIZER; + (instancetype _Null_unspecified)initWithHost : (NSString *_Null_unspecified)host method + : (GRPCProtoMethod *_Null_unspecified)method requestsWriter + : (GRXWriter *_Null_unspecified)requestsWriter responseClass + : (Class _Null_unspecified)responseClass responsesWriteable + : (id _Null_unspecified)responsesWriteable NS_DESIGNATED_INITIALIZER; - (void)start; @end