Post

Replies

Boosts

Views

Activity

Reply to SwiftUI on Mac: How to create App Scenes of different types?
Hi, I have not found a way to create a second window, it may not have been added yet. The Settings scene works only for macOS, so it needs to be wrapped with conditional compilation: #if os(macOS) Settings() #endif If you add a settings scene, then the Preferences application menu is automatically added, and it is this that opens the second settings window. However, I have not yet found a programmatic way to call this window, for example, by clicking on the toolbar button
Aug ’20