Resolve warnings of implementing deprecated class

pull/14314/head
Muxi Yan 7 years ago
parent 53a295bca7
commit 45ca2022cd
  1. 3
      src/objective-c/ProtoRPC/ProtoMethod.m
  2. 3
      src/objective-c/ProtoRPC/ProtoRPC.m
  3. 3
      src/objective-c/ProtoRPC/ProtoService.m

@ -18,7 +18,10 @@
#import "ProtoMethod.h"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
@implementation ProtoMethod
#pragma clang diagnostic pop
- (instancetype)initWithPackage:(NSString *)package
service:(NSString *)service
method:(NSString *)method {

@ -42,7 +42,10 @@ static NSError *ErrorForBadProto(id proto, Class expectedClass, NSError *parsing
userInfo:info];
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
@implementation ProtoRPC {
#pragma clang diagnostic pop
id<GRXWriteable> _responseWriteable;
}

@ -24,7 +24,10 @@
#import "ProtoMethod.h"
#import "ProtoRPC.h"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
@implementation ProtoService {
#pragma clang diagnostic pop
NSString *_host;
NSString *_packageName;
NSString *_serviceName;

Loading…
Cancel
Save