Feb 26, 2024
One way would be to use the WrappedViewState example with a recursive enum like...
indirect enum ReloadingState {
case reloading(ReloadingState, Progress)
case loaded(Data)
...
}
One way would be to use the WrappedViewState example with a recursive enum like...
indirect enum ReloadingState {
case reloading(ReloadingState, Progress)
case loaded(Data)
...
}
I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.