Merge pull request #685 from jeffleeismyhero/patch-1

Updates progress callback to use NSInteger
This commit is contained in:
Olivier Poitrey 2014-04-03 07:52:00 -07:00
commit db86161132
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
}