From 94217b294ccd75a34787eb04d6e273e99536e45b Mon Sep 17 00:00:00 2001 From: 重庆迈尖科技有限公司 Date: 星期三, 30 一月 2019 15:12:32 +0800 Subject: [PATCH] no message --- Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h b/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h index fd83527..d3cb542 100644 --- a/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h +++ b/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h @@ -1,10 +1,10 @@ -// -// SDImageCacheConfig.h -// SDWebImage -// -// Created by Bogdan on 09/09/16. -// Copyright 漏 2016 Dailymotion. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey <rs@dailymotion.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ #import <Foundation/Foundation.h> #import "SDWebImageCompat.h" @@ -18,7 +18,7 @@ @property (assign, nonatomic) BOOL shouldDecompressImages; /** - * disable iCloud backup [defaults to YES] + * disable iCloud backup [defaults to YES] */ @property (assign, nonatomic) BOOL shouldDisableiCloud; @@ -28,7 +28,19 @@ @property (assign, nonatomic) BOOL shouldCacheImagesInMemory; /** - * The maximum length of time to keep an image in the cache, in seconds + * The reading options while reading cache from disk. + * Defaults to 0. You can set this to `NSDataReadingMappedIfSafe` to improve performance. + */ +@property (assign, nonatomic) NSDataReadingOptions diskCacheReadingOptions; + +/** + * The writing options while writing cache to disk. + * Defaults to `NSDataWritingAtomic`. You can set this to `NSDataWritingWithoutOverwriting` to prevent overwriting an existing file. + */ +@property (assign, nonatomic) NSDataWritingOptions diskCacheWritingOptions; + +/** + * The maximum length of time to keep an image in the cache, in seconds. */ @property (assign, nonatomic) NSInteger maxCacheAge; -- Gitblit v1.8.0