Inserts the given text container into the series of text containers at the given index.
- iOS 7.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The text container to insert.
The index in the series of text containers at which to insert
This method invalidates layout for all subsequent
NSText objects, and invalidates glyph information as needed.