[Issue #569] Adding missing ownership field in JSON properties

This commit is contained in:
Mattt Thompson 2012-10-09 09:20:18 -07:00
parent bad206b41f
commit cd2171cc5c
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@
/** /**
A JSON object constructed from the response data. If an error occurs while parsing, `nil` will be returned, and the `error` property will be set to the error. A JSON object constructed from the response data. If an error occurs while parsing, `nil` will be returned, and the `error` property will be set to the error.
*/ */
@property (readonly, nonatomic) id responseJSON; @property (readonly, nonatomic, strong) id responseJSON;
///---------------------------------- ///----------------------------------
/// @name Creating Request Operations /// @name Creating Request Operations

View file

@ -32,8 +32,8 @@ static dispatch_queue_t json_request_operation_processing_queue() {
} }
@interface AFJSONRequestOperation () @interface AFJSONRequestOperation ()
@property (readwrite, nonatomic) id responseJSON; @property (readwrite, nonatomic, strong) id responseJSON;
@property (readwrite, nonatomic) NSError *JSONError; @property (readwrite, nonatomic, strong) NSError *JSONError;
@end @end
@implementation AFJSONRequestOperation @implementation AFJSONRequestOperation