[SDWebImageDownloader.sharedDownloader downloadImageWithURL:url
options:0
progress:^(NSUInteger receivedSize, long long expectedSize)
{
float progress = [@(receivedSize) floatValue]/[@(expectedSize) floatValue];
} completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished)
{
}];
簡単すぎる。。UIImageとNSDataの両方渡してくれるのは非常に助かる。