Permalink
Browse files

Merge pull request #253 from jagill/typo

Fixing upload/download typo.
  • Loading branch information...
Mattt Thompson
Mattt Thompson committed Mar 16, 2012
2 parents 34b7d01 + 91d854a commit c67d854a60b621b17b82625696d83c7bb36c8c43
Showing with 4 additions and 4 deletions.
  1. +4 −4 AFNetworking/AFURLConnectionOperation.h
@@ -174,18 +174,18 @@ extern NSString * const AFNetworkingOperationDidFinishNotification;
///---------------------------------
/**
- Sets a callback to be called when an undetermined number of bytes have been downloaded from the server.
+ Sets a callback to be called when an undetermined number of bytes have been uploaded to the server.
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times.
+ @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes three arguments: the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times.
@see setDownloadProgressBlock
*/
- (void)setUploadProgressBlock:(void (^)(NSInteger bytesWritten, NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite))block;
/**
- Sets a callback to be called when an undetermined number of bytes have been uploaded to the server.
+ Sets a callback to be called when an undetermined number of bytes have been downloaded from the server.
- @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes three arguments: the number of bytes read since the last time the upload progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times.
+ @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times.
@see setUploadProgressBlock
*/

0 comments on commit c67d854

Please sign in to comment.