From adc2db9bb29e7f316c46b6de679db1522ffc9cc8 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期五, 23 八月 2024 11:39:37 +0800 Subject: [PATCH] fix --- Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.h b/Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.h index 78739c5..f10a828 100644 --- a/Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.h +++ b/Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.h @@ -68,11 +68,12 @@ /** The image class which supports animating on `SDAnimatedImageView`. You can also use it on normal UIImageView/NSImageView. */ +NS_SWIFT_NONISOLATED @interface SDAnimatedImage : UIImage <SDAnimatedImage> // This class override these methods from UIImage(NSImage), and it supports NSSecureCoding. // You should use these methods to create a new animated image. Use other methods just call super instead. -// @note Before 5.19, these initializer will return nil for static image (when all candidate SDAnimatedImageCoder returns nil instance), like JPEG data. After 5.19, these initializer will retry for static image as well, so JPEG data will return non-nil instance. +// @note Before 5.19, these initializer will return nil for static image (when all candidate SDAnimatedImageCoder returns nil instance), like JPEG data. After 5.19, these initializer will retry for static image as well, so JPEG data will return non-nil instance. For vector image(PDF/SVG), always return nil. // @note When the animated image frame count <= 1, all the `SDAnimatedImageProvider` protocol methods will return nil or 0 value, you'd better check the frame count before usage and keep fallback. + (nullable instancetype)imageNamed:(nonnull NSString *)name; // Cache in memory, no Asset Catalog support #if __has_include(<UIKit/UITraitCollection.h>) -- Gitblit v1.7.1