January 23, 2020
Networking in SwiftUI
by Jason Meulenhoff
I have been writing Swift for the last couple of years. Recently I started my SwiftUI journey. My first question was how to do networking with Combine in SwiftUI. After trying different solutions, I came up with an acceptable version that fits my needs. Since this could benefit new users I thought I would dedicate an article on the subject.
![]()
"I will leave the creation of a Model conforming to Decodable and initialization of the ViewModel as an exercise to the reader."
Jason Meulenhoff

