79645245

Date: 2025-05-30 10:01:34
Score: 0.5
Natty:
Report link

Not how Mac Apps should behave, but the best workaround I could come up with is simply quitting the entire app when closing the window.

func windowShouldClose(_ sender: NSWindow) -> Bool {
    NSApplication.shared.terminate(self)
    return true
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: fer0n