Contents

replaceTextContainer(_:)

Replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact.

Declaration

func replaceTextContainer(_ newContainer: NSTextContainer)

Parameters

  • newContainer:

    The new text container. This method raises NSInvalidArgumentException if aTextContainer is nil.

See Also

Related Documentation

Accessing text system objects