Post

Replies

Boosts

Views

Activity

Multiple Scenes (Windows)
It appears, scenes are represented as windows on macOS. It looks like I can use @SceneBuilder to compose multiple scenes in my @main App. The Settings Scene that comes with SwiftUI is an example of a window that is not displayed/presented until the command is invoked from the menu. Can I do the same with my own custom scenes? How would I present it in response to the tap of a button? Is there a way to share data between them?
1
0
751
Jun ’20