Invalidates the layout information, and possibly glyphs, for the given text container and all subsequent
- iOS 7.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The text container whose layout is invalidated.
This method is invoked automatically by other components of the text system; you should rarely need to invoke it directly. Subclasses of
NSText, however, must invoke this method any time their size of shape changes (a text container that dynamically adjusts its shape to wrap text around placed graphics, for example, must do so when a graphic is added, moved, or removed).