Cleaning up formatting from pull request
Adding @dynamic for lock property
This commit is contained in:
parent
3efe3742f1
commit
e969fcd904
1 changed files with 2 additions and 4 deletions
|
|
@ -31,19 +31,17 @@ static dispatch_queue_t json_request_operation_processing_queue() {
|
||||||
return af_json_request_operation_processing_queue;
|
return af_json_request_operation_processing_queue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@interface AFURLConnectionOperation ()
|
|
||||||
@property (readwrite, nonatomic, strong) NSRecursiveLock *lock;
|
|
||||||
@end
|
|
||||||
|
|
||||||
@interface AFJSONRequestOperation ()
|
@interface AFJSONRequestOperation ()
|
||||||
@property (readwrite, nonatomic, strong) id responseJSON;
|
@property (readwrite, nonatomic, strong) id responseJSON;
|
||||||
@property (readwrite, nonatomic, strong) NSError *JSONError;
|
@property (readwrite, nonatomic, strong) NSError *JSONError;
|
||||||
|
@property (readwrite, nonatomic, strong) NSRecursiveLock *lock;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation AFJSONRequestOperation
|
@implementation AFJSONRequestOperation
|
||||||
@synthesize responseJSON = _responseJSON;
|
@synthesize responseJSON = _responseJSON;
|
||||||
@synthesize JSONReadingOptions = _JSONReadingOptions;
|
@synthesize JSONReadingOptions = _JSONReadingOptions;
|
||||||
@synthesize JSONError = _JSONError;
|
@synthesize JSONError = _JSONError;
|
||||||
|
@dynamic lock;
|
||||||
|
|
||||||
+ (instancetype)JSONRequestOperationWithRequest:(NSURLRequest *)urlRequest
|
+ (instancetype)JSONRequestOperationWithRequest:(NSURLRequest *)urlRequest
|
||||||
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, id JSON))success
|
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, id JSON))success
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue