Contents

usageBoundsForTextContainer

Returns the usage bounds for the text container.

Declaration

var usageBoundsForTextContainer: CGRect { get }

Discussion

Views can observe this property to trigger a resize operation. For example, NSView calls needsUpdateConstraints when the usage bounds changes. This property is KVO-compliant.

See Also

Accessing the text storage