Instance Property


The delegate for the text storage object.


weak var delegate: NSTextStorageDelegate? { get set }


Use a delegate object to monitor edits occurring to the text contents. Your delegate object must conform to the NSTextStorageDelegate protocol.

See Also

Processing the Editing Actions

protocol NSTextStorageDelegate

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