AFNetworking/AFNetworking — pull request #140 by houseoflegend (2011-12-04 18:52:55+00:00)
Title: Updated "File Upload with Progress Callback" code snippet in README.md.

- Resolved a mismatch between variable names imageData and data.
- Updated to the current appendPartWithFileData:name:fileName:mimeType: method signature.
- Updated to the current upload progress block signature ^(NSInteger bytesWritten, NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite) {...}
- Added two lines that create an ad-hoc AFHTTPClient instance, instead of referencing a hypothetical [AFHTTPClient sharedClient] singleton, which new users might be confused by when they're trying to get the example working.