From a37f20957fda28cfff1656ce3c8ad56ad98bf649 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Wed, 25 Sep 2019 03:11:33 +0800 Subject: [PATCH] Bump version to 0.1.1, support Xcode 11.0 --- README.md | 6 +++--- SDWebImageSwiftUI.podspec | 2 +- SDWebImageSwiftUI/Module/Info.plist | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ccb32ef..8d500c7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ It aims to ensure the following function available for users and try to do some + SwiftUI compatibility + Swift source code compatibility -Note we do not guarantee the public API stable for current status. Since Xcode 11 is not get released and SwiftUI is a new platform for us. +Note we do not guarantee the public API stable for current status. Since SwiftUI is a new platform for us, we need to investigate the API design. ## Requirements @@ -66,7 +66,7 @@ It supports the placeholder and detail options control for image loading as SDWe ```swift var body: some View { - WebImage(url: URL(string: "https://nokiatech.github.io/heif/content/images/ski_jump_1440x960.heic")!) + WebImage(url: URL(string: "https://nokiatech.github.io/heif/content/images/ski_jump_1440x960.heic")) .scaledToFit() .frame(width: 300, height: 300, alignment: .center) } @@ -76,7 +76,7 @@ var body: some View { ```swift var body: some View { - AnimatedImage(url: URL(string: "https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif")!) + AnimatedImage(url: URL(string: "https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif")) AnimatedImage(data: try! Data(contentsOf: URL(fileURLWithPath: "/tmp/foo.webp"))) } ``` diff --git a/SDWebImageSwiftUI.podspec b/SDWebImageSwiftUI.podspec index 4eae349..21b5ef4 100644 --- a/SDWebImageSwiftUI.podspec +++ b/SDWebImageSwiftUI.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SDWebImageSwiftUI' - s.version = '0.1.0' + s.version = '0.1.1' s.summary = 'Integration of SDWebImage Asynchronous image loading and SwiftUI framework' s.description = <<-DESC diff --git a/SDWebImageSwiftUI/Module/Info.plist b/SDWebImageSwiftUI/Module/Info.plist index 6213fda..2748962 100644 --- a/SDWebImageSwiftUI/Module/Info.plist +++ b/SDWebImageSwiftUI/Module/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 0.1.0 + 0.1.1 CFBundleVersion $(CURRENT_PROJECT_VERSION)