Add some doc

This commit is contained in:
Olivier Poitrey 2012-11-07 02:04:55 +01:00
parent e343bdfb42
commit 2eee009392
1 changed files with 15 additions and 0 deletions

View File

@ -13,9 +13,24 @@
typedef enum typedef enum
{ {
/**
* By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying.
* This flag disable this blacklisting.
*/
SDWebImageRetryFailed = 1 << 0, SDWebImageRetryFailed = 1 << 0,
/**
* By default, image downloads are started during UI interactions, this flags disable this feature,
* leading to delayed download on UIScrollView deceleration for instance.
*/
SDWebImageLowPriority = 1 << 1, SDWebImageLowPriority = 1 << 1,
/**
* This flag disables on-disk caching
*/
SDWebImageCacheMemoryOnly = 1 << 2, SDWebImageCacheMemoryOnly = 1 << 2,
/**
* This flag enables progressive download, the image is displayed progressively during download as a browser would do.
* By default, the image is only displayed once completely downloaded.
*/
SDWebImageProgressiveDownload = 1 << 3 SDWebImageProgressiveDownload = 1 << 3
} SDWebImageOptions; } SDWebImageOptions;