Skip to content
Using the EnvironmentObject to make data available to SwiftUI views episode artwork

Mar 22, 2021 11 min

Using the EnvironmentObject to make data available to SwiftUI views

from Compile Swift Podcast Hosted by Peter Witham

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. I will also be releasing a video soon, so if you are interested and want to know when that comes out head over to compileswift.com/contact and let me know. Say thanks, I love coffee https://www.buymeacoffee.com/pwcom Let’s connect Twitter: Web Twitter Instagram I would appreciate it if you subscribe, share with friends on your social platform of choice. Thanks! --- Send in a voice message: https://anchor.fm/compileswift/message Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Using the EnvironmentObject to make data available to SwiftUI views

0:00 11:20

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Compile Swift Podcast?

This episode is 11 minutes long.

When was this Compile Swift Podcast episode published?

This episode was published on March 22, 2021.

Can I download this Compile Swift Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.