From 0865a6098880b91235348cb9ffe49ddbb13ebdc6 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Wed, 10 Oct 2018 16:37:08 -0700 Subject: [PATCH] Typo and doc fix --- src/objective-c/GRPCClient/GRPCCall.h | 3 ++- src/objective-c/GRPCClient/GRPCCallOptions.m | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h index 2ee181b93ba..01d04807cc6 100644 --- a/src/objective-c/GRPCClient/GRPCCall.h +++ b/src/objective-c/GRPCClient/GRPCCall.h @@ -228,7 +228,8 @@ extern id const kGRPCTrailersKey; handler:(id)handler callOptions:(GRPCCallOptions *)callOptions NS_DESIGNATED_INITIALIZER; /** - * Convevience initializer for a call that uses default call options. + * Convenience initializer for a call that uses default call options (see GRPCCallOptions.m for + * the default options). */ - (instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions handler:(id)handler; diff --git a/src/objective-c/GRPCClient/GRPCCallOptions.m b/src/objective-c/GRPCClient/GRPCCallOptions.m index ee76c2a6420..072b980af42 100644 --- a/src/objective-c/GRPCClient/GRPCCallOptions.m +++ b/src/objective-c/GRPCClient/GRPCCallOptions.m @@ -18,6 +18,7 @@ #import "GRPCCallOptions.h" +// The default values for the call options. static NSString *const kDefaultServerAuthority = nil; static const NSTimeInterval kDefaultTimeout = 0; static NSDictionary *const kDefaultInitialMetadata = nil;