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.
Let's connect
Web site: https://compileswift.com
Twitter: / compileswift
Instagram: / compileswift
Telegram: https://t.me/compileswift
Watch video CompileSwift Podcast - Sharing Data Across SwiftUI views online without registration, duration hours minute second in high quality. This video was added by user Peter Witham 23 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 41 once and liked it 2 people.