...
|
...
|
@@ -30,7 +30,7 @@ |
|
|
target:self
|
|
|
action:@selector(flushCache)];
|
|
|
_objects = [NSArray arrayWithObjects:
|
|
|
@"http://static2.dmcdn.net/static/video/451/838/44838154:jpeg_preview_small.jpg?20120509163826",
|
|
|
@"https://graph.facebook.com/olivier.poitrey/picture?height=200&width=200",
|
|
|
@"http://static2.dmcdn.net/static/video/656/177/44771656:jpeg_preview_small.jpg?20120509154705",
|
|
|
@"http://static2.dmcdn.net/static/video/629/228/44822926:jpeg_preview_small.jpg?20120509181018",
|
|
|
@"http://static2.dmcdn.net/static/video/116/367/44763611:jpeg_preview_small.jpg?20120509101749",
|
...
|
...
|
@@ -371,8 +371,9 @@ |
|
|
}
|
|
|
|
|
|
cell.textLabel.text = [NSString stringWithFormat:@"Image #%d", indexPath.row];
|
|
|
cell.imageView.contentMode = UIViewContentModeScaleAspectFill;
|
|
|
[cell.imageView setImageWithURL:[NSURL URLWithString:[_objects objectAtIndex:indexPath.row]]
|
|
|
placeholderImage:[UIImage imageNamed:@"placeholder"]];
|
|
|
placeholderImage:[UIImage imageNamed:@"placeholder"] options:indexPath.row == 0 ? SDWebImageRefreshCached : 0];
|
|
|
return cell;
|
|
|
}
|
|
|
|
...
|
...
|
|