Instance Method

discardEditing

Causes the receiver to discard any changes, restoring the previous values.

Declaration

- (void)discardEditing;

See Also

NSEditor Conformance

- commitEditingWithDelegate:didCommitSelector:contextInfo:

Attempt to commit any currently edited results of the receiver.

- commitEditing

Returns whether the receiver was able to commit any pending edits.