Instance Property


The layout manager that lays out text for the receiver’s text container.


unowned(unsafe) var layoutManager: NSLayoutManager? { get }

See Also

Accessing Text System Objects

var textContainer: NSTextContainer?

The receiver’s text container.

func replaceTextContainer(NSTextContainer)

Replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact.

var textContainerInset: NSSize

The empty space the receiver leaves around its associated text container.

var textContainerOrigin: NSPoint

The origin of the receiver’s text container.

func invalidateTextContainerOrigin()

Invalidates the calculated origin of the text container.

var textStorage: NSTextStorage?

The receiver’s text storage object.