Releases: SDWebImage/SDWebImageSwiftUI
Releases · SDWebImage/SDWebImageSwiftUI
Placeholder with ViewBuilder, API refine
Features
- Refactory placeholder to support custom View Builder #40
- Refine AnimatedImage Public APIs to make it more scalable #41
Fixes
- Use the only ZStack one state for indicator, instead of removing that indicator view from hierarchy #42
WebImage Fix
Fixes
- Fix WebImage with indicator, when quick scroll without cache, may cause recursion #39
WebImage Progressive fix
Fixes
- Fix the issue that WebImage will stop download after first progressive loading image loaded #38
- Fix custom indicator may not stop on error #37
AnimatedImage aspect ratio final fix
Fixes
- Using the intrinsicContentSize on wrapper container, try to fix the aspect ratio sizing issue #36
Now, the AnimatedImage
all behavior about aspectRatio(_:contentMode:)
is matching with Image
and WebImage
. Local test cases with all combinations are passed.
Fix AnimatedImage aspect again
Fixes
- Fix AnimatedImage scale logic to match SwiftUI.Image #35
Implements AnimatedImage custom ratio
Improvements
- Implements the AnimatedImage's aspectRatio method, which match the SwiftUI.Image behavior. #34
- Change the implementation of indicator by using view modifier #33
Refine Indicator and Transition API on WebImage
Features
- Refactory the indicator API on WebImage, using the same design pattern like SwiftUI, return some View #31
- Refactory and introduced the convenient transition API on WebImage, compatible for SwiftUI Animation #32
Fix AnimatedImage watchOS/macOS issue
Fixes
- Fix that AnimatedImage on watchOS, does not stop animating when disappear and cause performance issue #29
- Fix that AnimatedImage on macOS can not restart animation after first stop #30
Indicator style convenience
Features
- Supports indicator with style and convenience methods #28
Indicator and Transition!
Features
- Feature: Support indicator and transition on
WebImage/AnimatedImage
#26
- Feature: Supports coordinate with native UIKit/AppKit view #27