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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software