Michael Long
1 min readMar 30, 2020

--

Really depends whether or not your service directly influences or updates the UI. Like, say, a tab bar managing service.

In SwiftUI, and as far as I know, the only way to trigger a UI refresh is through a change to State, Binding, or ObservableObject, or to an environment variable.

--

--

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