From bc23f12ecb29ebb6fa87441b00beb619f9bc783c Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 26 Feb 2024 18:57:51 +0800 Subject: [PATCH] mark SDWebImageCacheKeyFilter default initializer unavailable --- SDWebImage/Core/SDWebImageCacheKeyFilter.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SDWebImage/Core/SDWebImageCacheKeyFilter.h b/SDWebImage/Core/SDWebImageCacheKeyFilter.h index 4f54dd89..7c569f34 100644 --- a/SDWebImage/Core/SDWebImageCacheKeyFilter.h +++ b/SDWebImage/Core/SDWebImageCacheKeyFilter.h @@ -26,6 +26,9 @@ typedef NSString * _Nullable(^SDWebImageCacheKeyFilterBlock)(NSURL * _Nonnull ur */ @interface SDWebImageCacheKeyFilter : NSObject +- (nonnull instancetype)init NS_UNAVAILABLE; ++ (nonnull instancetype)new NS_UNAVAILABLE; + - (nonnull instancetype)initWithBlock:(nonnull SDWebImageCacheKeyFilterBlock)block; + (nonnull instancetype)cacheKeyFilterWithBlock:(nonnull SDWebImageCacheKeyFilterBlock)block;