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
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ let package = Package(
64
64
-[x] Supports placeholder and detail options control for image loading as SDWebImage
65
65
-[x] Supports success/failure/progress changes event for custom handling
66
66
-[x] Supports indicator with activity/progress indicator and customization
67
+
-[x] Supports built-in animation and transition, powered by SwiftUI
67
68
68
69
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
106
110
-[x] Supports animation control using the SwiftUI Binding
107
-
-[x] Supports indicator and transition powered by SDWebImage and CoreAnimation
111
+
-[x] Supports indicator and transition, powered by SDWebImage and Core Animation
108
112
-[x] Supports advanced control like loop count, incremental load, buffer size
109
-
-[x] Supports coordinate with native UIKit/AppKit/WKInterface view
113
+
-[x] Supports coordinate with native UIKit/AppKit/WatchKit view
110
114
111
-
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.
115
+
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, some advanced SwiftUI layout and animation system may not work as expected. You may need UIKit/AppKit and Core Animation to modify the native view.
112
116
113
117
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