Instance Property

glyphGenerator

The glyph generator used by this layout manager.

Declaration

var glyphGenerator: NSGlyphGenerator { get set }

Discussion

Setting the glyph generator invalidates all glyphs and layout in the layout manager.

See Also

Causing Glyph Generation and Layout

func ensureGlyphs(forCharacterRange: NSRange)

Forces the receiver to generate glyphs for the specified character range, if it has not already done so.

func ensureGlyphs(forGlyphRange: NSRange)

Forces the receiver to generate glyphs for the specified glyph range, if it has not already done so.

func ensureLayout(forBoundingRect: CGRect, in: NSTextContainer)

Forces the receiver to perform layout for the specified area in the specified text container, if it has not already done so.

func ensureLayout(forCharacterRange: NSRange)

Forces the receiver to perform layout for the specified character range, if it has not already done so.

func ensureLayout(forGlyphRange: NSRange)

Forces the receiver to perform layout for the specified glyph range, if it has not already done so.

func ensureLayout(for: NSTextContainer)

Forces the receiver to perform layout for the specified text container, if it has not already done so.