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

# isZoomed

A Boolean value that indicates whether the window is in a zoomed state.

```
var isZoomed: Bool { get }
```

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> if the window is in a zoomed state; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

The zoomed state of the window is determined using the following steps:

1. If the delegate or the window class implements [`windowWillUseStandardFrame(_:defaultFrame:)`](/documentation/AppKit/NSWindowDelegate/windowWillUseStandardFrame(_:defaultFrame:)), it is invoked to obtain the zoomed frame of the window. The value of [`isZoomed`](/documentation/AppKit/NSWindow/isZoomed) is then determined by whether or not the current window frame is equal to the zoomed frame.
2. If the neither the delegate nor the window class implements [`windowWillUseStandardFrame(_:defaultFrame:)`](/documentation/AppKit/NSWindowDelegate/windowWillUseStandardFrame(_:defaultFrame:)), a default frame that nearly fits the screen is chosen. If the delegate or window class implements [`windowWillUseStandardFrame(_:defaultFrame:)`](/documentation/AppKit/NSWindowDelegate/windowWillUseStandardFrame(_:defaultFrame:)), it is invoked to validate the proposed zoomed frame. After the zoomed frame is validated, the value of [`isZoomed`](/documentation/AppKit/NSWindow/isZoomed) is determined by whether or not the current window frame is equal to the zoomed frame.

---

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)