Hi all,
I want to create an application with SwiftUI that either
- Quits when the last window is closed, or
- Allows one window only. That is, the New Window command is greyed out when a window is already open. I don't hold much hope for this one, not in pure swiftUI, because the commands builder doesn't allow logic.
I am pretty sure this used to be a simple configuration on the Mac, this would be my best hope.