<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/inLiveResize",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(py)inLiveResize"
  },
  "title" : "inLiveResize"
}
-->

# inLiveResize

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

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

## Discussion

AppKit sets the value of this property to <doc://com.apple.documentation/documentation/Swift/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(_:)`](/documentation/AppKit/NSView/draw(_:)) method and use the value to change the fidelity of the content you draw, or to draw your content more efficiently.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)