NSSaveOptions.yes Indicates a modified document should be saved on closing without asking the user. Declarationcase yes See AlsoConstantsNSSaveOptions.noNSSaveOptions.ask