Contents

NSDocument.ChangeType.changeDiscardable

A discardable change has been done.

Declaration

case changeDiscardable

Discussion

Discardable changes cause the document to be edited. In a locked document, for example, discardable changes may be thrown away instead of prompting the user to save them. Combine this value with the appropriate kind of change, NSDocument.ChangeType.changeDone, NSDocument.ChangeType.changeUndone, or NSDocument.ChangeType.changeRedone, using the C bitwise OR operator. For example, a discardable change is NSChangeDone | NSChangeDiscardable.

See Also

Constants