You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,17 +61,21 @@ let package = Package(
61
61
62
62
### Using `WebImage` to load network image
63
63
64
-
-[x] Supports the placeholder and detail options control for image loading as SDWebImage.
65
-
-[x] Supports the success/failure/progress changes event for custom handling.
64
+
-[x] Supports the placeholder and detail options control for image loading as SDWebImage
65
+
-[x] Supports the success/failure/progress changes event for custom handling
66
+
-[x] Supports the indicator with activity/progress indicator and customization
66
67
67
-
Note: Unlike `UIImageView` in UIKit, SwiftUI's `Image`does not support animation. This `WebImage` using `Image` for internal implementation and supports static image format only.
68
+
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 animation.
-[x] Supports network image as well as local data and bundle image
103
108
-[x] Supports animation control using the SwiftUI Binding
104
-
-[x] Supports advanced control like loop count, incremental load, buffer size.
109
+
-[x] Supports indicator and transition powered by SDWebImage and CoreAnimation
110
+
-[x] Supports advanced control like loop count, incremental load, buffer size
105
111
106
-
Note: `AnimatedImage` supports both image url or image data for animated image format. Which use the SDWebImage's [Animated ImageView](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-image-50) for internal implementation.
112
+
Note: `AnimatedImage` supports both image url or image data for animated image format. Which use the SDWebImage's [Animated ImageView](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-image-50) for internal implementation. Pay attention that since this base on UIKit/AppKit representable, if you need advanced customized layout and animation, you need CoreAnimation to help.
107
113
108
114
Note: From v0.4.0, `AnimatedImage` supports watchOS as well. However, it's not backed by SDWebImage's [Animated ImageView](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-image-50) like iOS/tvOS/macOS. It use some tricks and hacks because of the limitation on current Apple's API. It also use Image/IO decoding system, which means it supports GIF and APNG format only, but not external format like WebP.
0 commit comments