代码拉取完成,页面将自动刷新
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
WebImage
will render the vector images as bitmap version even if you don't provide .thumbnailPixelSize
. To render real vector images, use AnimatedImage
instead.placeholder
View Builder API for AnimatedImage
#94WebImage
with some transition like scaleEffect, each time the new state update will cause unused image fetching #92delayPlaceholder
for WebImage #91AnimatedImage
little patch - UIKit/AppKit animated image now applied for resizingMode
#89AnimatedImage
's native View, the window does not exist and cause Crash #90ImageManager
now public. Which allows advanced usage for custom View type. Use @ObservedObject
to bind the manager with your own View and update the image.WebImage
now supports animation, use isAnimating
binding value on init methods.WebImage
now supports the detailed animation control options, like customLoopCount
, pausable
, purgeable
, playbackRate
.AnimatedImage
now supports the indicator with ViewModifier
as WebImage
.IndicatorViewModifier
now public.IndicatorReportable
now public.progress
type now changed from CGFloat
to Double
.WebImage.aniamted(_:)
now becomes the WebImage.init(url:options:context:isAnimating:)
Binding arg, you can use the Binding to control animations as well.AnimatedImage.playBackRate
now becomes AnimatedImage.playbackRate
AnimatedImage.customLoopCount
now is UInt
instead of Int
.AnimatedImage.resizable
modifier now matches the SwiftUI behavior, you must call it or the size will be fixed to image pixel size.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。