title: macCatalyst app: how to close a window without terminating the app?
body: <p>I'm developing an app by using macCatalyst.</p>
  
  <p>When user has closed the window on mac version, the app is terminated. </p>
  
  <p>It was possible to change this behavior in cocoa by using: </p>
  
  <pre><code>applicationShouldTerminateAfterLastWindowClosed
  </code></pre>
  
  <p>method or by setting NSSupportsAutomaticTermination to NO in plist file.</p>
  
  <p>How can I get the same in a macCatalyst app?</p>