Authored by DreamPiggy

Update the comments

@@ -11,7 +11,14 @@ @@ -11,7 +11,14 @@
11 #import "SDWebImageOperation.h" 11 #import "SDWebImageOperation.h"
12 12
13 typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) { 13 typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) {
  14 + /**
  15 + * Put the download in the low queue priority and task priority.
  16 + */
14 SDWebImageDownloaderLowPriority = 1 << 0, 17 SDWebImageDownloaderLowPriority = 1 << 0,
  18 +
  19 + /**
  20 + * This flag enables progressive download, the image is displayed progressively during download as a browser would do.
  21 + */
15 SDWebImageDownloaderProgressiveDownload = 1 << 1, 22 SDWebImageDownloaderProgressiveDownload = 1 << 1,
16 23
17 /** 24 /**
@@ -45,7 +52,7 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) { @@ -45,7 +52,7 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) {
45 SDWebImageDownloaderAllowInvalidSSLCertificates = 1 << 6, 52 SDWebImageDownloaderAllowInvalidSSLCertificates = 1 << 6,
46 53
47 /** 54 /**
48 - * Put the image in the high priority queue. 55 + * Put the download in the high queue priority and task priority.
49 */ 56 */
50 SDWebImageDownloaderHighPriority = 1 << 7, 57 SDWebImageDownloaderHighPriority = 1 << 7,
51 58