Skip to content
Sharing Data Across Multiple SwiftUI Views episode artwork

Apr 13, 2020 11 min

Sharing Data Across Multiple SwiftUI Views

from Compile Swift Podcast Hosted by Peter Witham

SwiftUI has a great way to handle data in your applications once you understand it. This week as I work on the next part of my SwiftUI application series on Patreon I had to dive in and discover @State @ObservableObject and @EnvironmentObject to be able to use my data across the application and have SwiftUI take care of all the UI updates for me as the data changed. Once you understand how it works using just a few lines of code to set everything up, it will handle a lot of the data management for you in the background. In this episode, I'll explain how I set it up and what I learned along the way. Apple State and Data Flow documentation Live-stream recording of me coding this For exclusive access to premium content head over to https://patreon.com/pwcom. Rate This Podcast https://ratethispodcast.com/compileswift Support This Podcast If you would like to support this Podcast, I have a Patreon page https://www.patreon.com/pwcom. Any donation is greatly appreciated and gets put right back into the content I make. Thank you. Let's connect Web site: https://compileswift.com Twitter: https://twitter.com/compileswift Instagram: https://www.instagram.com/compileswift/ Telegram: https://t.me/compileswift --- 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

Sharing Data Across Multiple SwiftUI Views

0:00 11:52

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 April 13, 2020.

Can I download this Compile Swift Podcast episode?

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