NSTerminate once the app knows whether it can terminate.
- macOS 10.0+
trueif you want the app to terminate; otherwise, specify
If your app delegate returns
NSTerminate from its
application method, your code must subsequently call this method to let the
NSApplication object know whether it can actually terminate itself.