Skip to content

Commit 69102cb

Browse files
committed
Fix the compatible with SDWebImage 5.6.0
1 parent 7ce1faf commit 69102cb

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

Cartfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "SDWebImage/SDWebImage" ~> 5.5
1+
github "SDWebImage/SDWebImage" ~> 5.6

Cartfile.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "SDWebImage/SDWebImage" "5.3.1"
1+
github "SDWebImage/SDWebImage" "5.6.0"

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let package = Package(
1717
dependencies: [
1818
// Dependencies declare other packages that this package depends on.
1919
// .package(url: /* package url */, from: "1.0.0"),
20-
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.5.0")
20+
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.6.0")
2121
],
2222
targets: [
2323
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

SDWebImageSVGCoder.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ TODO: Add long description of the pod here.
3939
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
4040
}
4141

42-
s.dependency 'SDWebImage/Core', '~> 5.5'
42+
s.dependency 'SDWebImage/Core', '~> 5.6'
4343
end

SDWebImageSVGCoder/Classes/SDImageSVGCoder.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313

1414
NS_ASSUME_NONNULL_BEGIN
1515

16-
static const SDImageFormat SDImageFormatSVG = 12;
16+
/***
17+
SDImageSVGCoder is a SVG image coder, which use the built-in UIKit/AppKit method to decode SVG images. The SVG was implemented in iOS 13/macOS 10.15 with Symbol Image format, which is subset of SVG 1.1 or SVG 2 spec. If you find your SVG ccould not rendered correctly, please convert it by checking https://developer.apple.com/documentation/xcode/creating_custom_symbol_images_for_your_app
1718
19+
@note If you call the coder directly, use the coder option (See `SDWebImageSVGCoderDefine.h`) instead of the context option.
20+
*/
1821
API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0))
1922
@interface SDImageSVGCoder : NSObject <SDImageCoder>
2023

0 commit comments

Comments
 (0)