Contents

textView

The text container’s text view.

Declaration

weak var textView: NSTextView? { get set }

Discussion

A text container doesn’t need a text view to calculate line fragment rectangles, but must have one to display text.

You can use this property to disconnect a text view from a group of text system objects by sending this message to its text container and passing nil as aTextView.

See Also

Managing text components