forked from kevinrenskers/SDWebImage-ProgressView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UIImageView+ProgressView.h
21 lines (17 loc) · 1.39 KB
/
UIImageView+ProgressView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// UIImageView+ProgressView.h
//
// Created by Kevin Renskers on 07-06-13.
// Copyright (c) 2013 Kevin Renskers. All rights reserved.
//
#import "UIImageView+WebCache.h"
@interface UIImageView (ProgressView)
- (void)setImageWithURL:(NSURL *)url usingProgressView:(UIProgressView *)progressView;
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder usingProgressView:(UIProgressView *)progressView;
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options usingProgressView:(UIProgressView *)progressView;
- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;
- (void)removeProgressView;
@end