Michael Long
Apr 12, 2022

--

Overkill. Or at the very least not a great example. Actors manage shared mutable state, which you only have here due to a bad use of your shared components value. You could easily have written the same api handler as a simple struct.

--

--

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)