Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kirbyt on github.
  • I am kirbyt (https://keybase.io/kirbyt) on keybase.
  • I have a public key whose fingerprint is B3BB C9B9 818F 9779 2145 3AA3 B13B F84F 586F 23FB

To claim this, I am signing this object:

WPSImageDownloaderCompletionBlock completion = ^(UIImage *image, NSError *error) {
if (image) {
NSData *pngData = UIImagePNGRepresentation(image);
[[self imageCache] cacheData:pngData forKey:cacheKey cacheLocation:WPSCacheLocationFileSystem];
cell.imageView.image = image;
} else {
ZAssert(error, @"Image download error: %@\n%@", [error localizedDescription], [error userInfo]);
}
};