Michael Long
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… :(

--

--

Michael Long
Michael Long

Written by Michael Long

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.

No responses yet