Skip to content

Unique container per macOS window #229

Answered by hmlongco
NickRussell95 asked this question in Q&A
Discussion options

You must be logged in to vote

You can pass a container along in view initializers, or via the Environment, but if you use any of the injected property wrappers those all interact with the global shared state for Container. There's no differentiation per scene.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NickRussell95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants