explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
This commit is contained in:
parent
370c4754c1
commit
a42953f62e
@ -212,6 +212,10 @@ NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value) {
|
||||
@synthesize networkReachabilityStatus = _networkReachabilityStatus;
|
||||
@synthesize networkReachabilityStatusBlock = _networkReachabilityStatusBlock;
|
||||
#endif
|
||||
#ifdef _AFNETWORKING_PIN_SSL_CERTIFICATES_
|
||||
@synthesize defaultSSLPinningMode = _defaultSSLPinningMode;
|
||||
#endif
|
||||
@synthesize allowsInvalidSSLCertificate = _allowsInvalidSSLCertificate;
|
||||
|
||||
+ (instancetype)clientWithBaseURL:(NSURL *)url {
|
||||
return [[self alloc] initWithBaseURL:url];
|
||||
@ -1186,6 +1190,7 @@ typedef enum {
|
||||
@synthesize headers = _headers;
|
||||
@synthesize body = _body;
|
||||
@synthesize bodyContentLength = _bodyContentLength;
|
||||
@synthesize inputStream = _inputStream;
|
||||
@synthesize hasInitialBoundary = _hasInitialBoundary;
|
||||
@synthesize hasFinalBoundary = _hasFinalBoundary;
|
||||
|
||||
|
||||
@ -138,6 +138,7 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat
|
||||
@synthesize request = _request;
|
||||
@synthesize response = _response;
|
||||
@synthesize error = _error;
|
||||
@synthesize allowsInvalidSSLCertificate = _allowsInvalidSSLCertificate;
|
||||
@synthesize responseData = _responseData;
|
||||
@synthesize responseString = _responseString;
|
||||
@synthesize responseStringEncoding = _responseStringEncoding;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user