Skip to content

Instantly share code, notes, and snippets.

@gliubc
Created August 19, 2019 05:50
Show Gist options
  • Save gliubc/34d017056cf9c14dc97dc765e598a580 to your computer and use it in GitHub Desktop.
Save gliubc/34d017056cf9c14dc97dc765e598a580 to your computer and use it in GitHub Desktop.
[[SDWebImageManager sharedManager] loadImageWithURL:FullImageUrl(self.model.goods_gallery.firstObject.image_path) options:0 progress:^(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL) {
} completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) {
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment