Instance Method

replyToApplicationShouldTerminate:

Responds to NSTerminateLater once the app knows whether it can terminate.

Declaration

- (void)replyToApplicationShouldTerminate:(BOOL)shouldTerminate;

Parameters

shouldTerminate

Specify YES if you want the app to terminate; otherwise, specify NO.

Discussion

If your app delegate returns NSTerminateLater from its applicationShouldTerminate: method, your code must subsequently call this method to let the NSApplication object know whether it can actually terminate itself.

See Also

Terminating the App

- terminate:

Terminates the receiver.