Instance Method

discardEditing

Discards any pending changes by registered editors.

Declaration

- (void)discardEditing;

Discussion

The receiver invokes discardEditing on any current editors.

See Also

Managing editing

- objectDidBeginEditing:

Invoked to inform the receiver that editor has uncommitted changes that can affect the receiver.

- objectDidEndEditing:

Invoked to inform the receiver that editor has committed or discarded its changes.

- commitEditing

Causes the receiver to attempt to commit any pending edits, returning YES if successful or no edits were pending.

- commitEditingWithDelegate:didCommitSelector:contextInfo:

Attempts to commit any pending changes in known editors of the receiver.

editing

A Boolean value indicating if any editors are registered with the controller.