Skip to content

Instantly share code, notes, and snippets.

@greenhouse
Created June 20, 2016 22:33
Show Gist options
  • Save greenhouse/b9d9e4e60b3e90ad08d1a9863b1438f6 to your computer and use it in GitHub Desktop.
Save greenhouse/b9d9e4e60b3e90ad08d1a9863b1438f6 to your computer and use it in GitHub Desktop.
//
// UIImageView+Networking.h
// greenhouse
//
// Created by greenhouse on 7/9/15.
//
#import <UIKit/UIKit.h>
@interface UIImageView (Networking)
- (void)setImageAsyncWithUrlString:(NSString*)urlString
placeholder:(UIImage*)placeholder
alternate:(UIImage*)alternate
cacheLocation:(id)cacheLocation
completionBlock:(void (^)(BOOL succeeded, UIImage *image))completionBlock;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment