diff --git a/SDWebImage.podspec b/SDWebImage.podspec index 68d62a2cc..ce7587d09 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -6,6 +6,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '9.0' s.tvos.deployment_target = '9.0' s.watchos.deployment_target = '2.0' + s.visionos.deployment_target = '1.0' s.license = 'MIT' s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.' diff --git a/SDWebImage/Core/SDImageCacheConfig.h b/SDWebImage/Core/SDImageCacheConfig.h index 7e53ac7df..906c7cc9d 100644 --- a/SDWebImage/Core/SDImageCacheConfig.h +++ b/SDWebImage/Core/SDImageCacheConfig.h @@ -134,7 +134,7 @@ typedef NS_ENUM(NSUInteger, SDImageCacheConfigExpireType) { * @warning **MAKE SURE** to keep `diskCacheWritingOptions` to use `NSDataWritingAtomic`, or concurrent queue may cause corrupted disk data (because multiple threads read/write same file without atomic is not IO-safe). * @note This value does not support dynamic changes. Which means further modification on this value after cache initialized has no effect. */ -@property (strong, nonatomic, nullable) dispatch_queue_attr_t ioQueueAttributes; +@property (nonatomic, nullable) dispatch_queue_attr_t ioQueueAttributes; /** * The custom memory cache class. Provided class instance must conform to `SDMemoryCache` protocol to allow usage. diff --git a/SDWebImage/Core/SDWebImagePrefetcher.h b/SDWebImage/Core/SDWebImagePrefetcher.h index 2256cc0c6..7a339a80c 100644 --- a/SDWebImage/Core/SDWebImagePrefetcher.h +++ b/SDWebImage/Core/SDWebImagePrefetcher.h @@ -92,7 +92,7 @@ typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, * @note The call is asynchronously to avoid blocking target queue. (see SDCallbackPolicyDispatch) * @note The delegate queue should be set before any prefetching start and may not be changed during prefetching to avoid thread-safe problem. */ -@property (strong, nonatomic, nonnull) dispatch_queue_t delegateQueue API_DEPRECATED("Use SDWebImageContextCallbackQueue context param instead, see SDCallbackQueue", macos(10.10, 10.10), ios(8.0, 8.0), tvos(9.0, 9.0), watchos(2.0, 2.0)); +@property (nonatomic, nonnull) dispatch_queue_t delegateQueue API_DEPRECATED("Use SDWebImageContextCallbackQueue context param instead, see SDCallbackQueue", macos(10.10, 10.10), ios(8.0, 8.0), tvos(9.0, 9.0), watchos(2.0, 2.0)); /** * The delegate for the prefetcher. Defaults to nil.