Enumeration

NSSaveOperationType

A save operation type specifies the type of document save operation to perform. These values are used with method parameters of type NSSaveOperationType. Depending on the method, the save operation type can affect the title of the Save dialog and can affect which files are displayed in the dialog.

Declaration

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

Topics

Constants

NSSaveOperation

A Save operation, which overwrites a document’s file or file package with the document’s contents.

NSSaveAsOperation

A Save As operation, which writes a document’s contents to a new file or file package and then changes the document’s current location to point to the just-written file or file package.

NSSaveToOperation

A Save To operation, which writes a document’s contents to a new file or file package without changing the document’s current location to point to the new file or package.

NSAutosaveElsewhereOperation

An Autosave Elsewhere operation, which writes a document’s contents to a file or file package that is separate from the document’s current location, without changing the document’s current location.

NSAutosaveInPlaceOperation

An Autosave In Place operation, which overwrites a document’s file or file package with the document’s current contents even though the user has not explicitly requested it.

NSAutosaveAsOperation

An Autosave As operation, which writes a document’s contents to a new file or file package even though the user has not explicitly requested it, then changes the document’s current location to point to the just-written file or file package.

NSAutosaveOperation

Old name for the NSAutosaveElsewhereOperation operation type.

Deprecated