Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.715 kb
//
// DTLazyImageView.h
// PagingTextScroller
//
// Created by Oliver Drobnik on 5/20/11.
// Copyright 2011 . All rights reserved.
//
#import <ImageIO/ImageIO.h>
@class DTLazyImageView;
@protocol DTLazyImageViewDelegate <NSObject>
@optional
- (void)lazyImageView:(DTLazyImageView *)lazyImageView didChangeImageSize:(CGSize)size;
@end
@interface DTLazyImageView : UIImageView
@property (nonatomic, strong) NSURL *url;
@property (nonatomic, strong) NSMutableURLRequest *urlRequest;
@property (nonatomic, assign) BOOL shouldShowProgressiveDownload;
@property (nonatomic, assign) id<DTLazyImageViewDelegate> delegate; // subtle simulator bug - use assign not __unsafe_unretained
- (void)cancelLoading;
@end
Jump to Line
Something went wrong with that request. Please try again.