Michael Long
Apr 3, 2023

--

I think we're talking about two different things here. The idea is if you're instantiating a Child VM as a parameter and passing it to a child view, the child needs to keep a strong reference to it. OO doesn't cut it.

I don't want to observe it in the parent.

--

--

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.

Responses (1)