Contents

inLiveResize

A Boolean value indicating whether the view is being rendered as part of a live resizing operation.

Declaration

var inLiveResize: Bool { get }

Discussion

AppKit sets the value of this property to true when a live resizing operation involving the view is underway. Use this property to determine when to optimize your view’s drawing behavior. Typically, you access this property from your draw(_:) method and use the value to change the fidelity of the content you draw, or to draw your content more efficiently.

See Also

Managing Live Resize