Instance Method

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.