Richard Frith-Macdonald <[EMAIL PROTECTED]> writes:
> My reading of it is that it's your responsibility as a developer to have your
> code listen for the notification and call [NSApp -terminate] when you receive
> it. I don't think the gui/AppKit does that for you. Did you try this on
> MacOS-X? It would be interesting to know how it actually behaves.
Mac OS X documentation (follow the link posted by Sašo) doesn't even mention
the notification - it says that applicationShouldTerminate: is invoked in any
case (so that e.g. applications that use NSDocumentController have support for
graceful termination for free withoput additional coding).
Processing of NSWorkspaceWillPowerOffNotification seems to be required only
for apps that should do some specific processing in case of poweroff
(vs. normal termination).
--
With regards, Roman.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep