This is the Last Version which support iOS 13. The back port is really pain
Changes
WebImage
Use SwiftUIBackport to use StateObject/OnChange/Overlay
Change the Indicator API to match the transform for ImageManager
Remove the unused PlatformApear hack
AnimatedImage
Use context.coordinator to store loading status because it's exclusive unlike normal SwiftUI.View
API Break
The IndicatorReportable design is wrong. And removed with IndicatorStatus ObservableObject class. You can migrate using a self-created @ObservedObject var status = IndicatorStatus(), then use onReceive(myLoadingStatus) to trigger update on that IndicatorStatus
(I don't think anyone beside me use this API, actually this does not effect the user-level .indicator(.progress) API...)
Warnings
Fix Xcode 14's warinng
Publishing changes from within view updates is not allowed, this will cause undefined behavior.
This PR close #225 #222
Note
This is the Last Version which support iOS 13. The back port is really pain
Changes
WebImage
AnimatedImage
API Break
IndicatorReportable
design is wrong. And removed withIndicatorStatus
ObservableObject class. You can migrate using a self-created@ObservedObject var status = IndicatorStatus()
, then useonReceive(myLoadingStatus)
to trigger update on thatIndicatorStatus
(I don't think anyone beside me use this API, actually this does not effect the user-level.indicator(.progress)
API...)Warnings
@garrettrayj