Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information