프로젝트
GitHub에서 보기
lukagabric/LASIImageView
소개
다양한 진행률 표시기를 보여 주며 이미지를 다운로드하는 iOS UIImageView 하위 클래스입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLASIImageView
iOS UIImageView subclass - download image with different progress indicators
Screenshots
How to use
Just add LASIImageView class files to the project and set the imageUrl property to download and display the image.
Progress indicator types
Three types of progress indicators are available (as in the screenshot above):
- LProgressTypeAnnular
- LProgressTypeCircle
- LProgressTypePie
Appearance
It is possible to set shared appearance. Setting appearance for particular LASIImageView instance will override global appearance.
[[LASIImageView sharedProgressAppearance] setSchemeColor:[UIColor whiteColor]];
[[LASIImageView sharedASIImageViewAppearance] setDownloadFailedImageName:@"downloadFailed.png"];
Request settings
@property (assign, nonatomic) ASICachePolicy cachePolicy;
@property (assign, nonatomic) ASICacheStoragePolicy cacheStoragePolicy;
@property (weak, nonatomic) id <ASICacheDelegate> cacheDelegate;
@property (assign, nonatomic) NSUInteger secondsToCache;
@property (assign, nonatomic) NSUInteger timeOutSeconds;
Blocks
On request finished - success or fail blocks are called (LASIImageViewDownloadFinishedBlock or LASIImageViewDownloadFailedBlock)
관련 프로젝트 살펴보기
불러오는 중…
