Update the Example to use thumbnail decoding
This commit is contained in:
parent
cd1ae56f5f
commit
d29dfda82a
|
@ -115,7 +115,8 @@
|
||||||
cell.customTextLabel.text = [NSString stringWithFormat:@"Image #%ld", (long)indexPath.row];
|
cell.customTextLabel.text = [NSString stringWithFormat:@"Image #%ld", (long)indexPath.row];
|
||||||
[cell.customImageView sd_setImageWithURL:[NSURL URLWithString:self.objects[indexPath.row]]
|
[cell.customImageView sd_setImageWithURL:[NSURL URLWithString:self.objects[indexPath.row]]
|
||||||
placeholderImage:placeholderImage
|
placeholderImage:placeholderImage
|
||||||
options:indexPath.row == 0 ? SDWebImageRefreshCached : 0];
|
options:indexPath.row == 0 ? SDWebImageRefreshCached : 0
|
||||||
|
context:@{SDWebImageContextImageThumbnailPixelSize : @(CGSizeMake(100, 100))}];
|
||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue