aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-17 17:36:28 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-17 17:36:28 -0800
commit915cd71b4a6aceb8003077e0e360ea7accbde38c (patch)
tree652c26fcc5b2d0b038e7cca3b57cce5456dd9624 /src/objective-c/ProtoRPC/ProtoRPC.h
parentc097e21259db28d8b80ed661c0c0e3d808466ed1 (diff)
nullability revert
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index e6ba1f66ca..91a50d395a 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -142,11 +142,10 @@ __attribute__((deprecated("Please use GRPCProtoCall."))) @interface ProtoRPC
* addr and the port number, for example @"localhost:5050".
*/
-
- (nullable instancetype)initWithHost : (nonnull NSString *)host method
- : (nonnull GRPCProtoMethod *)method requestsWriter
- : (nonnull GRXWriter *)requestsWriter responseClass
- : (nonnull Class)responseClass responsesWriteable
- : (nonnull id<GRXWriteable>)responsesWriteable NS_DESIGNATED_INITIALIZER;
+ (instancetype)initWithHost : (NSString *)host method
+ : (GRPCProtoMethod *)method requestsWriter : (GRXWriter *)requestsWriter responseClass
+ : (Class)responseClass responsesWriteable
+ : (id<GRXWriteable>)responsesWriteable NS_DESIGNATED_INITIALIZER;
- (void)start;
@end