Bump version to 0.1.1, support Xcode 11.0

This commit is contained in:
DreamPiggy 2019-09-25 03:11:33 +08:00
parent 058915b56d
commit a37f20957f
3 changed files with 5 additions and 5 deletions

View File

@ -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")))
}
```

View File

@ -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

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.1.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>