---
title: inLiveResize
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/inliveresize
---

# inLiveResize

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

## Declaration

```swift
var inLiveResize: Bool { get }
```

## Discussion

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

- [preservesContentDuringLiveResize](appkit/nsview/preservescontentduringliveresize.md)
- [getRectsExposedDuringLiveResize(_:count:)](appkit/nsview/getrectsexposedduringliveresize(_:count:).md)
- [rectPreservedDuringLiveResize](appkit/nsview/rectpreservedduringliveresize.md)
- [viewWillStartLiveResize()](appkit/nsview/viewwillstartliveresize().md)
- [viewDidEndLiveResize()](appkit/nsview/viewdidendliveresize().md)
