Instance Property

inLiveResize

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

Declaration

@property(readonly) BOOL inLiveResize;

Discussion

AppKit sets the value of this property to YES 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 drawRect: 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

preservesContentDuringLiveResize

A Boolean value indicating whether the view optimizes live-resize operations by preserving content that has not moved.

- getRectsExposedDuringLiveResize:count:

Returns a list of rectangles indicating the newly exposed areas of the view.

rectPreservedDuringLiveResize

The rectangle identifying the portion of your view that did not change during a live resize operation.

- viewWillStartLiveResize

Informs the view of the start of a live resize—the user has started resizing the view.

- viewDidEndLiveResize

Informs the view of the end of a live resize—the user has finished resizing the view.