NSApplication.ModalResponse
A set of button return values for modal dialogs.
Declaration
struct ModalResponseDiscussion
The response value that a button returns can depend on which method is used to present the dialog. See alertWithMessageText:defaultButton:alternateButton:otherButton:informativeTextWithFormat:, runModal(), and addButton(withTitle:) for examples.