Protocol

NSTextStorageDelegate

A set of optional methods implemented by delegates of NSTextStorage objects to handle text-edit processing.

Declaration

@protocol NSTextStorageDelegate

Topics

Handling Text-Edited Messages

- textStorage:willProcessEditing:range:changeInLength:

Sent when a text storage object is about to process edits.

- textStorage:didProcessEditing:range:changeInLength:

Sent when a text storage object has finished processing edits.

Deprecated

- textStorageWillProcessEditing:

Sent when a text storage is about to process edits.

- textStorageDidProcessEditing:

Sent when a text storage has finished processing edits.

Relationships

Inherits From

See Also

Data

NSTextStorage

The fundamental storage mechanism of TextKit.

NSTextContainer

A region where text is laid out.

NSAttributedString

A string that has associated attributes (such as visual style, hyperlinks, or accessibility data) for portions of its text.