File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ It aims to ensure the following function available for users and try to do some
17
17
+ SwiftUI compatibility
18
18
+ Swift source code compatibility
19
19
20
- 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.
20
+ 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 .
21
21
22
22
## Requirements
23
23
@@ -66,7 +66,7 @@ It supports the placeholder and detail options control for image loading as SDWe
66
66
67
67
``` swift
68
68
var body: some View {
69
- WebImage (url : URL (string : " https://nokiatech.github.io/heif/content/images/ski_jump_1440x960.heic" )! )
69
+ WebImage (url : URL (string : " https://nokiatech.github.io/heif/content/images/ski_jump_1440x960.heic" ))
70
70
.scaledToFit ()
71
71
.frame (width : 300 , height : 300 , alignment : .center )
72
72
}
@@ -76,7 +76,7 @@ var body: some View {
76
76
77
77
``` swift
78
78
var body: some View {
79
- AnimatedImage (url : URL (string : " https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif" )! )
79
+ AnimatedImage (url : URL (string : " https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif" ))
80
80
AnimatedImage (data : try ! Data (contentsOf : URL (fileURLWithPath : " /tmp/foo.webp" )))
81
81
}
82
82
```
Original file line number Diff line number Diff line change 8
8
9
9
Pod ::Spec . new do |s |
10
10
s . name = 'SDWebImageSwiftUI'
11
- s . version = '0.1.0 '
11
+ s . version = '0.1.1 '
12
12
s . summary = 'Integration of SDWebImage Asynchronous image loading and SwiftUI framework'
13
13
14
14
s . description = <<-DESC
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >0.1.0 </string >
18
+ <string >0.1.1 </string >
19
19
<key >CFBundleVersion </key >
20
20
<string >$(CURRENT_PROJECT_VERSION) </string >
21
21
</dict >
You can’t perform that action at this time.
0 commit comments