Skip to content

Instantly share code, notes, and snippets.

@sgoodwin
Created April 19, 2014 13:37
Show Gist options
  • Save sgoodwin/11084698 to your computer and use it in GitHub Desktop.
Save sgoodwin/11084698 to your computer and use it in GitHub Desktop.
// Instead of
[something downloadImage:^(UIImage *image){
cell.imageView.image = image;
}];
// Something like
[something downloadImage:^(UIImage *image){
UITableViewCell *cellForImage = [tableView cellForRowAtIndexPath:indexPath];
cellForImage.imageView.image = image;
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment