Protocol

NSText​Delegate

The NSText​Delegate protocol defines the optional methods implemented by delegates of NSText objects.

Symbols

Changing text formatting

func text​Did​Change(Notification)

Informs the delegate that the text object has changed its characters or formatting attributes.

Editing text

func text​Should​Begin​Editing(NSText)

Invoked when a text object begins to change its text, this method requests permission for a​Text​Object to begin editing.

func text​Did​Begin​Editing(Notification)

Informs the delegate that the text object has begun editing (that the user has begun changing it).

func text​Should​End​Editing(NSText)

Invoked from a text object’s implementation of resign​First​Responder(), this method requests permission for a​Text​Object to end editing.

func text​Did​End​Editing(Notification)

Informs the delegate that the text object has finished editing (that it has resigned first responder status).

Relationships

Inherits From