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, UIView or NSView call setNeedsUpdateConstraints() when the usage bounds changes. This property is KVO-compliant.

See Also

Accessing the text storage