NSEditor​Registration

The NSEditor​Registration informal protocol is implemented by controllers to provide an interface for a view, the editor, to inform the controller when it has uncommitted changes.

Overview

An implementor is responsible for tracking which editors have uncommitted changes, and sending those editors commit​Editing() and discard​Editing() messages, as appropriate, to force the editor to submit, or discard, their values.

NSController provides an implementation of this informal protocol. You would implement this protocol if you wanted to provide your own controller class without subclassing NSController.

Symbols

Managing editing

func object​Did​Begin​Editing(Any)

This message should be sent to the receiver when editor has uncommitted changes that can affect the receiver.

func object​Did​End​Editing(Any)

This message should be sent to the receiver when editor has finished editing a property belonging to the receiver.