Skip to content

Commit

Permalink
Merge pull request #19 from SDWebImage/upgrade_sd_560
Browse files Browse the repository at this point in the history
Fix the compatible with SDWebImage 5.6.0
  • Loading branch information
dreampiggy authored Mar 5, 2020
2 parents 7ce1faf + 69102cb commit 7ad5f70
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "SDWebImage/SDWebImage" ~> 5.5
github "SDWebImage/SDWebImage" ~> 5.6
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "SDWebImage/SDWebImage" "5.3.1"
github "SDWebImage/SDWebImage" "5.6.0"
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.5.0")
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.6.0")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
Expand Down
2 changes: 1 addition & 1 deletion SDWebImageSVGCoder.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ TODO: Add long description of the pod here.
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
}

s.dependency 'SDWebImage/Core', '~> 5.5'
s.dependency 'SDWebImage/Core', '~> 5.6'
end
5 changes: 4 additions & 1 deletion SDWebImageSVGCoder/Classes/SDImageSVGCoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@

NS_ASSUME_NONNULL_BEGIN

static const SDImageFormat SDImageFormatSVG = 12;
/***
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
@note If you call the coder directly, use the coder option (See `SDWebImageSVGCoderDefine.h`) instead of the context option.
*/
API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0))
@interface SDImageSVGCoder : NSObject <SDImageCoder>

Expand Down

0 comments on commit 7ad5f70

Please sign in to comment.