At 30:05 in the video, it says "You can put a source of truth on the view inside of a WindowGroup".
Can I clarify what this means?
Does it mean inside the ContentView() of that WindowGroup, or something else? I ask because it shows WindowGroup > Window > ContentView.
If I'm still targeting iOS 13, and not using WindowGroup, where is the most appropriate place to create a source of truth where I own the lifecycle - maybe the SceneDelegate? (I'm speaking specifically of an ObservableObject that I want one of my tabs to have access to.)
Thanks!
Can I clarify what this means?
Does it mean inside the ContentView() of that WindowGroup, or something else? I ask because it shows WindowGroup > Window > ContentView.
If I'm still targeting iOS 13, and not using WindowGroup, where is the most appropriate place to create a source of truth where I own the lifecycle - maybe the SceneDelegate? (I'm speaking specifically of an ObservableObject that I want one of my tabs to have access to.)
Thanks!