Added
WebImage
now supports animation, useisAnimating
binding value on init methods.WebImage
now supports the detailed animation control options, likecustomLoopCount
,pausable
,purgeable
,playbackRate
.AnimatedImage
now supports the indicator withViewModifier
asWebImage
.IndicatorViewModifier
now public.IndicatorReportable
now public.
Changed
- Indicator's
progress
type now changed fromCGFloat
toDouble
. WebImage.aniamted(_:)
now becomes theWebImage.init(url:options:context:isAnimating:)
Binding arg, you can use the Binding to control animations as well.AnimatedImage.playBackRate
now becomesAnimatedImage.playbackRate
AnimatedImage.customLoopCount
now isUInt
instead ofInt
.AnimatedImage.resizable
modifier now matches the SwiftUI behavior, you must call it or the size will be fixed to image pixel size.
Removed
- Removed all the description about 0.x version behavior in README.md.