swiftUI how to Hide window instead of closing it when click the close button on MacOS swiftUI how to Hide window instead of closing it when click the close button on MacOS. UI Frameworks SwiftUI macOS SwiftUI 1 0 2.1k May ’22