In the AppKit lifecycle it was possible to open new windows by calling showWindow(_ sender: Any?) on an NSWindowController instance, whether it was initialized via a storyboard or via code alone.
I see that on macOS in the new SwiftUI Lifecycle you can create a new window by default using ⌘N, but it's a new copy of the existing window. Can we declare a completely unique scene and open it in a new window?
I saw that it was possible to declare custom scenes, but how do we invoke them if they aren't the default scene at startup?
Thanks!
I see that on macOS in the new SwiftUI Lifecycle you can create a new window by default using ⌘N, but it's a new copy of the existing window. Can we declare a completely unique scene and open it in a new window?
I saw that it was possible to declare custom scenes, but how do we invoke them if they aren't the default scene at startup?
Thanks!