Enumeration

NSSaveOptions

The saveOptions method returns one of the following constants to indicate how to deal with saving any modified documents:

Declaration

typedef enum NSSaveOptions : NSUInteger {
    ...
} NSSaveOptions;

Topics

Constants

NSSaveOptionsYes

Indicates a modified document should be saved on closing without asking the user.

NSSaveOptionsNo

Indicates a modified document should not be saved on closing.

NSSaveOptionsAsk

Indicates the user should be asked before saving any modified documents on closing. When no option is specified, this is the default.