|
//
// AsyncImageView.h
// tourpan
//
// Created by scar on 12-9-9.
// Copyright 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol AsyncImageViewDelegate <NSObject>
- (void)getImageSuccess:(UIImage*)image;
@end
@interface AsyncImageView : UIView
@property(nonatomic, assign)UIViewContentMode contentMode;
@property(nonatomic, strong)NSString *imageUrl;
@property(nonatomic, strong)UIImageView *imageView;
@property(nonatomic, assign)BOOL isHaveWaterPrint;
@property(nonatomic, weak)id<AsyncImageViewDelegate> delegate;
@property(nonatomic, assign)BOOL isNeedReductionImage;
@property(nonatomic, strong)UIImage *defaultImage;
@property(nonatomic, assign)BOOL isNeedCorner;
@property(nonatomic, assign)BOOL isHighPriority;
@end
|