...
|
...
|
@@ -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
|
|
|
}
|
...
|
...
|
|