Contents

primaryTextLayoutManager

The primary text layout manager for this content.

Declaration

var primaryTextLayoutManager: NSTextLayoutManager? { get set }

Discussion

Setting this property to an NSTextLayoutManager not in textLayoutManagers resets it to nil. It automatically synchronizes pending edits before switching to a new primary object. The operation is synchronous.

This property is KVO-compliant.

See Also

Working with layout managers