Michael Long
Jan 4, 2024

--

Disagree. Depends on application complexity.

Support for such i's also why Apple supplied ObservableObject, StateObject, and ObservedObject.

As to the parent comment, treating a SwiftUI view as if it was a reference type (#selector???) is a very, very bad idea.

--

--

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)