Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for VisionOS #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SDWebImage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down
2 changes: 1 addition & 1 deletion SDWebImage/Core/SDImageCacheConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion SDWebImage/Core/SDWebImagePrefetcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down