Cleaning up formatting from pull request

Adding @dynamic for lock property
This commit is contained in:
Mattt Thompson 2013-01-31 07:00:03 +00:00
parent 3efe3742f1
commit e969fcd904

View file

@ -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