Browse files

[Issue #686][Issue #168] Adding userInfo @property /cc @tewha

  • Loading branch information...
1 parent fd00b0a commit 732cd2da02cb4208c5b6a40fa53508cb95e4bf90 @mattt mattt committed Dec 26, 2012
Showing with 10 additions and 0 deletions.
  1. +9 −0 AFNetworking/AFURLConnectionOperation.h
  2. +1 −0 AFNetworking/AFURLConnectionOperation.m
View
9 AFNetworking/AFURLConnectionOperation.h
@@ -142,6 +142,15 @@
*/
@property (nonatomic, strong) NSOutputStream *outputStream;
+///---------------------------------------------
+/// @name Managing Request Operation Information
+///---------------------------------------------
+
+/**
+ The user info dictionary for the receiver.
+ */
+@property (nonatomic, strong) NSDictionary *userInfo;
+
///------------------------------------------------------
/// @name Initializing an AFURLConnectionOperation Object
///------------------------------------------------------
View
1 AFNetworking/AFURLConnectionOperation.m
@@ -144,6 +144,7 @@ @implementation AFURLConnectionOperation
@synthesize totalBytesRead = _totalBytesRead;
@dynamic inputStream;
@synthesize outputStream = _outputStream;
+@synthesize userInfo = _userInfo;
@synthesize backgroundTaskIdentifier = _backgroundTaskIdentifier;
@synthesize uploadProgress = _uploadProgress;
@synthesize downloadProgress = _downloadProgress;

0 comments on commit 732cd2d

Please sign in to comment.