May 8, 2021
You can’t, so you basically need to do onAppear { vm.configure(param) } or onAppear { vm.load(param) } or something similar.
I think my next article will need to discuss onAppear and its oddities… :(
You can’t, so you basically need to do onAppear { vm.configure(param) } or onAppear { vm.load(param) } or something similar.
I think my next article will need to discuss onAppear and its oddities… :(
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.