@@ -78,7 +78,7 @@ let package = Package(
78
78
### Using ` WebImage ` to load network image
79
79
80
80
- [x] Supports placeholder and detail options control for image loading as SDWebImage
81
- - [x] Supports progressive image loading
81
+ - [x] Supports progressive image loading (like baseline)
82
82
- [x] Supports success/failure/progress changes event for custom handling
83
83
- [x] Supports indicator with activity/progress indicator and customization
84
84
- [x] Supports built-in animation and transition, powered by SwiftUI
@@ -108,17 +108,17 @@ Note: This `WebImage` using `Image` for internal implementation, which is the be
108
108
### Using ` AnimatedImage ` to play animation
109
109
110
110
- [x] Supports network image as well as local data and bundle image
111
- - [x] Supports animated progressive image loading
111
+ - [x] Supports animated progressive image loading (like web browser)
112
112
- [x] Supports animation control using the SwiftUI Binding
113
113
- [x] Supports indicator and transition, powered by SDWebImage and Core Animation
114
- - [x] Supports advanced control like loop count, incremental load , buffer size
114
+ - [x] Supports advanced control like loop count, playback rate , buffer size, runloop mode, etc
115
115
- [x] Supports coordinate with native UIKit/AppKit/WatchKit view
116
116
117
117
``` swift
118
118
var body: some View {
119
119
Group {
120
120
// Network
121
- AnimatedImage (url : URL (string : " https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif" ))
121
+ AnimatedImage (url : URL (string : " https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif" ), options : [. progressiveLoad ]) // Progressive Load
122
122
.onFailure { error in
123
123
// Error
124
124
}
0 commit comments