Instance Property

isEditing

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

Declaration

var isEditing: Bool { get }

Discussion

The value of this property is true when an editor is registered with the controller object or false when no editor is registered.

See Also

Managing editing

func objectDidBeginEditing(NSEditor)

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

func objectDidEndEditing(NSEditor)

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

func commitEditing() -> Bool

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

func commitEditing(withDelegate: Any?, didCommit: Selector?, contextInfo: UnsafeMutableRawPointer?)

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

func discardEditing()

Discards any pending changes by registered editors.