{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"Compile Swift Podcast","title":"Sharing Data Across Multiple SwiftUI Views","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/8fbf04d6\"></iframe>","width":"100%","height":180,"duration":712,"description":"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.\nOnce 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.\nIn this episode, I'll explain how I set it up and what I learned along the way.\nApple State and Data Flow documentation\nLive-stream recording of me coding this\nFor exclusive access to premium content head over to https://patreon.com/pwcom.\nRate This Podcast\nhttps://ratethispodcast.com/compileswift\nSupport This Podcast\nIf you would like to support this Podcast, I have a Patreon page https://www.patreon.com/pwcom.\nAny donation is greatly appreciated and gets put right back into the content I make.\nThank you.\n\nLet's connect\nWeb site: https://compileswift.com\nTwitter: https://twitter.com/compileswift\nInstagram: https://www.instagram.com/compileswift/\nTelegram: https://t.me/compileswift\n\n\n--- \n\nSend in a voice message: https://anchor.fm/compileswift/message","thumbnail_url":"https://img.transistorcdn.com/tl2KEXPUEgRbusl8a6z-RycoAsyTjQzAPyXSKK4G1Po/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS84MjI4/ODEzNDBiNTI5MGI5/NmIzYmY0YzhmMTJk/NzJlMC5wbmc.webp","thumbnail_width":300,"thumbnail_height":300}