Merge pull request #978 from jeffhunter/master
Explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
This commit is contained in:
commit
174bbb5b3e
2 changed files with 6 additions and 0 deletions
|
|
@ -212,6 +212,10 @@ NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value) {
|
||||||
@synthesize networkReachabilityStatus = _networkReachabilityStatus;
|
@synthesize networkReachabilityStatus = _networkReachabilityStatus;
|
||||||
@synthesize networkReachabilityStatusBlock = _networkReachabilityStatusBlock;
|
@synthesize networkReachabilityStatusBlock = _networkReachabilityStatusBlock;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _AFNETWORKING_PIN_SSL_CERTIFICATES_
|
||||||
|
@synthesize defaultSSLPinningMode = _defaultSSLPinningMode;
|
||||||
|
#endif
|
||||||
|
@synthesize allowsInvalidSSLCertificate = _allowsInvalidSSLCertificate;
|
||||||
|
|
||||||
+ (instancetype)clientWithBaseURL:(NSURL *)url {
|
+ (instancetype)clientWithBaseURL:(NSURL *)url {
|
||||||
return [[self alloc] initWithBaseURL:url];
|
return [[self alloc] initWithBaseURL:url];
|
||||||
|
|
@ -1186,6 +1190,7 @@ typedef enum {
|
||||||
@synthesize headers = _headers;
|
@synthesize headers = _headers;
|
||||||
@synthesize body = _body;
|
@synthesize body = _body;
|
||||||
@synthesize bodyContentLength = _bodyContentLength;
|
@synthesize bodyContentLength = _bodyContentLength;
|
||||||
|
@synthesize inputStream = _inputStream;
|
||||||
@synthesize hasInitialBoundary = _hasInitialBoundary;
|
@synthesize hasInitialBoundary = _hasInitialBoundary;
|
||||||
@synthesize hasFinalBoundary = _hasFinalBoundary;
|
@synthesize hasFinalBoundary = _hasFinalBoundary;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,7 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat
|
||||||
@synthesize request = _request;
|
@synthesize request = _request;
|
||||||
@synthesize response = _response;
|
@synthesize response = _response;
|
||||||
@synthesize error = _error;
|
@synthesize error = _error;
|
||||||
|
@synthesize allowsInvalidSSLCertificate = _allowsInvalidSSLCertificate;
|
||||||
@synthesize responseData = _responseData;
|
@synthesize responseData = _responseData;
|
||||||
@synthesize responseString = _responseString;
|
@synthesize responseString = _responseString;
|
||||||
@synthesize responseStringEncoding = _responseStringEncoding;
|
@synthesize responseStringEncoding = _responseStringEncoding;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue