Contents

layoutManagerDidInvalidateLayout(_:)

Informs the delegate when the specified layout manager invalidates layout information (not glyph information).

Declaration

optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager)

Parameters

  • sender:

    The layout manager that invalidated layout.

Discussion

This method is invoked only when layout was complete and then became invalidated for some reason. Delegates can use this information to show an indicator of background layout or to enable a button that forces immediate layout of text.

See Also

Invalidating glyphs and layout