Compile Swift Podcast

Sharing Data Across Multiple SwiftUI Views


Listen Later

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
  • Jay Wilson
  • Marko Wiese
  • Adam Wulf
  • bitSpectre
  • Arclite
  • ★ Support this podcast on Patreon ★
    ...more
    View all episodesView all episodes
    Download on the App Store

    Compile Swift PodcastBy Peter Witham

    • 4.7
    • 4.7
    • 4.7
    • 4.7
    • 4.7

    4.7

    24 ratings


    More shows like Compile Swift Podcast

    View all
    Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

    Software Engineering Radio - the podcast for professional software developers

    262 Listeners

    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    285 Listeners

    AppleInsider Podcast by AppleInsider

    AppleInsider Podcast

    948 Listeners

    Talk Python To Me by Michael Kennedy

    Talk Python To Me

    584 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    630 Listeners

    Under the Radar by Relay

    Under the Radar

    209 Listeners

    AppStories by Federico Viticci, John Voorhees

    AppStories

    506 Listeners

    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    Syntax - Tasty Web Development Treats

    985 Listeners

    Swift by Sundell by John Sundell

    Swift by Sundell

    195 Listeners

    Darknet Diaries by Jack Rhysider

    Darknet Diaries

    7,852 Listeners

    CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

    CoRecursive: Coding Stories

    185 Listeners

    Swift over Coffee by Paul Hudson and Mikaela Caron

    Swift over Coffee

    168 Listeners

    Empower Apps by Leo Dion, Principal CEO and Swift Developer at BrightDigit

    Empower Apps

    14 Listeners

    The Stack Overflow Podcast by The Stack Overflow Podcast

    The Stack Overflow Podcast

    63 Listeners

    UIBuzz - Software and game development by Peter Witham

    UIBuzz - Software and game development

    1 Listeners

    PW Podcast by Peter Witham

    PW Podcast

    0 Listeners

    Swift Package Indexing by Dave Verwer and Sven A. Schmidt

    Swift Package Indexing

    6 Listeners