CompileSwift Podcast – Using the EnvironmentObject to make data available to SwiftUI views

124 0

Season 2 Episode 15

More than likely you have more than one view in your SwiftUI based application. If that is the case then you probably need to share data across those views and always have them displaying the latest data right?

That’s where the environment object comes into play, this makes it possible to do just that. I’ll walk through the steps on how I recently implemented it in an application.

Subscribe / Follow The Podcast

Click here for other Audio Players