Mac Developer Library

Developer

AppKit Framework Reference NSEditorRegistration Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSEditorRegistration

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

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


import AppKit @import AppKit;

Availability


Available in OS X v10.3 and later.
  • This message should be sent to the receiver when editor has uncommitted changes that can affect the receiver.

    Declaration

    Swift

    func objectDidBeginEditing(_ editor: AnyObject)

    Objective-C

    - (void)objectDidBeginEditing:(id)editor

    Import Statement

    import AppKit

    Availability

    Available in OS X v10.3 and later.

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

    Declaration

    Swift

    func objectDidEndEditing(_ editor: AnyObject)

    Objective-C

    - (void)objectDidEndEditing:(id)editor

    Import Statement

    import AppKit

    Availability

    Available in OS X v10.3 and later.