forked from jakemarsh/JMImageCache
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUIImageView+JMImageCache.h
More file actions
26 lines (21 loc) · 1.37 KB
/
UIImageView+JMImageCache.h
File metadata and controls
26 lines (21 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// UIImageView+JMImageCache.h
// JMImageCacheDemo
//
// Created by Jake Marsh on 7/23/12.
// Copyright (c) 2012 Jake Marsh. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JMImageCache.h"
@interface UIImageView (JMImageCache)
- (void) setImageWithURL:(NSURL *)url;
- (void) setImageWithURL:(NSURL *)url placeholder:(UIImage *)placeholderImage;
- (void) setImageWithURL:(NSURL *)url placeholder:(UIImage *)placeholderImage completionBlock:(void (^)(UIImage *))completionBlock;
- (void) setImageWithURL:(NSURL *)url key:(NSString*)key placeholder:(UIImage *)placeholderImage;
- (void) setImageWithURL:(NSURL *)url key:(NSString*)key placeholder:(UIImage *)placeholderImage completionBlock:(void (^)(UIImage *image))completionBlock;
- (void) setImageWithURL:(NSURL *)url cache:(JMImageCache *)cache;
- (void) setImageWithURL:(NSURL *)url cache:(JMImageCache *)cache placeholder:(UIImage *)placeholderImage;
- (void) setImageWithURL:(NSURL *)url cache:(JMImageCache *)cache placeholder:(UIImage *)placeholderImage completionBlock:(void (^)(UIImage *))completionBlock;
- (void) setImageWithURL:(NSURL *)url cache:(JMImageCache *)cache key:(NSString*)key placeholder:(UIImage *)placeholderImage;
- (void) setImageWithURL:(NSURL *)url cache:(JMImageCache *)cache key:(NSString*)key placeholder:(UIImage *)placeholderImage completionBlock:(void (^)(UIImage *image))completionBlock;
@end