Podcast Episode 21 - Sharing Data Across Multiple SwiftUI Views

April 13, 2020 · 1 min read

Show Notes

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

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.




Subscribe to site
Peter Witham

Web and Mobile Software Maker, Photographer and Podcaster. I live and breath creativity.
I'd love for you to connect with me via Twitter or if you are a photo person like myself, Instagram.