From b3126863470a3d11f97466b9601f1aa28814aca9 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sat, 30 Nov 2019 02:21:44 +0800 Subject: [PATCH] Bump version to 0.9.0 Update readme --- README.md | 8 ++++---- SDWebImageSwiftUI.podspec | 2 +- SDWebImageSwiftUI/Module/Info.plist | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 682e87d0..7e01bfbf 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ SDWebImageSwiftUI is available through [Swift Package Manager](https://swift.org ```swift let package = Package( dependencies: [ - .package(url: "https://github.com/SDWebImage/SDWebImageSwiftUI.git", from: "0.8") + .package(url: "https://github.com/SDWebImage/SDWebImageSwiftUI.git", from: "0.9") ], ) ``` @@ -86,7 +86,7 @@ let package = Package( - [x] Supports success/failure/progress changes event for custom handling - [x] Supports indicator with activity/progress indicator and customization - [x] Supports built-in animation and transition, powered by SwiftUI -- [x] Supports animated image as well ! (from v0.9.0) +- [x] Supports animated image as well! (from v0.9.0) ```swift var body: some View { @@ -109,9 +109,9 @@ var body: some View { } ``` -Note: This `WebImage` using `Image` for internal implementation, which is the best compatible for SwiftUI layout and animation system. But it supports static image format only, because unlike `UIImageView` in UIKit, SwiftUI's `Image` does not support animated image or vector image. +Note: This `WebImage` using `Image` for internal implementation, which is the best compatible for SwiftUI layout and animation system. In previous version, `WebImage` supports static image format only, because unlike `UIImageView` in UIKit, SwiftUI's `Image` does not support animated image or vector image. -Note: From v0.9.0, `WebImage` supports animated image as well ! You can use `.animated()` to start animation. This is done by using the native SwiftUI rendering system and SDWebImage's powerful [Animated Player](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-player-530). But it's still recommend to use `AnimatedImage` for advanced controls like progressive animation rendering, runloop mode, playback rate, etc. +Note: From v0.9.0, `WebImage` supports animated image as well! You can use `.animated()` to start animation. This is done by using the native SwiftUI rendering system and SDWebImage's powerful [Animated Player](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-player-530). But it's still recommend to use `AnimatedImage` for advanced controls like progressive animation rendering, runloop mode, playback rate, etc. ### Using `AnimatedImage` to play animation diff --git a/SDWebImageSwiftUI.podspec b/SDWebImageSwiftUI.podspec index a5a4819e..148274c5 100644 --- a/SDWebImageSwiftUI.podspec +++ b/SDWebImageSwiftUI.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SDWebImageSwiftUI' - s.version = '0.8.6' + s.version = '0.9.0' s.summary = 'SwiftUI Image loading and Animation framework powered by SDWebImage' s.description = <<-DESC diff --git a/SDWebImageSwiftUI/Module/Info.plist b/SDWebImageSwiftUI/Module/Info.plist index 09ffee2f..4f01845c 100644 --- a/SDWebImageSwiftUI/Module/Info.plist +++ b/SDWebImageSwiftUI/Module/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 0.8.6 + 0.9.0 CFBundleVersion $(CURRENT_PROJECT_VERSION)