Instance Method

textDidBeginEditing(_:)

Posts a notification that the text is about to begin editing to the default notification center.

Declaration

func textDidBeginEditing(_ notification: Notification)

Parameters

aNotification

The textDidBeginEditingNotification notification to post.

Discussion

This action causes the receiver’s delegate to receive a controlTextDidBeginEditing(_:) message. See the NSControl class specification for more information on the text delegate method.

See Also

NSText Delegate Method Implementations

func textShouldBeginEditing(NSText) -> Bool

Requests permission to begin editing a text object.

func textDidChange(Notification)

Posts a notification that the text has changed and forwards this message to the receiver’s cell if it responds.

func textShouldEndEditing(NSText) -> Bool

Performs validation on the receiver’s new value.

func textDidEndEditing(Notification)

Handles an end of editing.