Created
February 18, 2013 22:04
-
-
Save rs/4981195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Examples/SDWebImage Demo/MasterViewController.m b/Examples/SDWebImage Demo/MasterViewController.m | |
index 6c0a14e..3ba0abe 100644 | |
--- a/Examples/SDWebImage Demo/MasterViewController.m | |
+++ b/Examples/SDWebImage Demo/MasterViewController.m | |
@@ -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", | |
+ @"http://www.beachscout.it/Volantino/categorie/04.png", | |
@"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", | |
@@ -370,6 +370,7 @@ | |
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; | |
} | |
+ cell.contentView.backgroundColor = UIColor.redColor; | |
cell.textLabel.text = [NSString stringWithFormat:@"Image #%d", indexPath.row]; | |
[cell.imageView setImageWithURL:[NSURL URLWithString:[_objects objectAtIndex:indexPath.row]] | |
placeholderImage:[UIImage imageNamed:@"placeholder"]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment