Mark GRPCChannel🆕 unavailable

pull/16190/head
Muxi Yan 6 years ago
parent 4186405287
commit 836640dc4a
  1. 2
      src/objective-c/GRPCClient/GRPCCall.h
  2. 2
      src/objective-c/GRPCClient/private/GRPCChannel.h

@ -218,7 +218,7 @@ extern NSString * const kGRPCTrailersKey;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype) new NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
* Designated initializer for a call.

@ -32,6 +32,8 @@ struct grpc_channel_credentials;
- (nullable instancetype)init NS_UNAVAILABLE;
+ (nullable instancetype)new NS_UNAVAILABLE;
/**
* Returns a channel connecting to \a host with options as \a callOptions. The channel may be new
* or a cached channel that is already connected.

Loading…
Cancel
Save