Contents

setHardInvalidation(_:forGlyphRange:)

Sets whether to force the layout manager to invalidate the specified portion of the glyph cache when invalidating layout.

Declaration

func setHardInvalidation(_ flag: Bool, forGlyphRange glyphRange: NSRange)

Parameters

  • flag:

    True if the layout manager should invalidate the specified portion of the glyph cache, False otherwise.

  • glyphRange:

    The range of glyphs in the cache to be marked for hard invalidation.

See Also

Laying out glyphs