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.
Say thanks, I love coffee
Let’s connect Twitter:
I would appreciate it if you subscribe, share with friends on your social platform of choice. Thanks!--- Send in a voice message: https://anchor.fm/compileswift/message
Are you the creator of this podcast?
and pick the featured episodes for your show.
Connect with listeners
Podcasters use the RadioPublic listener relationship platform to build lasting connections with fansYes, let's begin connecting
Find new listeners
Understand your audience
Engage your fanbase