...
|
...
|
@@ -97,16 +97,16 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageOptions) { |
|
|
SDWebImageScaleDownLargeImages = 1 << 12,
|
|
|
|
|
|
/**
|
|
|
* By default, we do not query disk cache when the image is cached in memory. This mask can force query disk data at the same time.
|
|
|
* This options is recommend to be used with `SDWebImageQueryDiskDataSync` to ensure the image is loaded in the same runloop.
|
|
|
* By default, we do not query disk data when the image is cached in memory. This mask can force to query disk data at the same time.
|
|
|
* This options is recommend to be used with `SDWebImageQueryDiskSync` to ensure the image is loaded in the same runloop.
|
|
|
*/
|
|
|
SDWebImageQueryDiskDataWhenInMemory = 1 << 13,
|
|
|
SDWebImageQueryDataWhenInMemory = 1 << 13,
|
|
|
|
|
|
/**
|
|
|
* By default, we query the memory cache synchonized, disk cache asynchronized. This mask can force to query disk cache synchonized to ensure that image is loaded in the same runloop.
|
|
|
* By default, we query the memory cache synchronously, disk cache asynchronously. This mask can force to query disk cache synchronously to ensure that image is loaded in the same runloop.
|
|
|
* This can avoid flashing during cell reuse if you disable memory cache or in some other cases.
|
|
|
*/
|
|
|
SDWebImageQueryDiskDataSync = 1 << 14
|
|
|
SDWebImageQueryDiskSync = 1 << 14
|
|
|
};
|
|
|
|
|
|
typedef void(^SDExternalCompletionBlock)(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL);
|
...
|
...
|
|