Contents

addTextContainer(_:)

Appends the specified text container to the series of text containers where the layout manager arranges text.

Declaration

func addTextContainer(_ container: NSTextContainer)

Parameters

  • container:

    The text container to append.

Discussion

Invalidates glyphs and layout as needed, but doesn’t perform glyph generation or layout.

See Also

Managing the text containers