Updates progress callback to use NSInteger

Pull Request #606 resolves this issue in the code but not in the Documentation.
This commit is contained in:
Jeffrey Lee 2014-04-03 09:37:08 -05:00
parent b49243d147
commit 065db6db0c
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ Here is a simple example of how to use SDWebImageManager:
SDWebImageManager *manager = [SDWebImageManager sharedManager];
[manager downloadWithURL:imageURL
options:0
progress:^(NSUInteger receivedSize, long long expectedSize)
progress:^(NSInteger receivedSize, NSInteger expectedSize)
{
// progression tracking code
}
@ -111,7 +111,7 @@ It's also possible to use the async image downloader independently:
```objective-c
[SDWebImageDownloader.sharedDownloader downloadImageWithURL:imageURL
options:0
progress:^(NSUInteger receivedSize, long long expectedSize)
progress:^(NSInteger receivedSize, NSInteger expectedSize)
{
// progression tracking code
}