---
title: isZoomed
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/iszoomed
---

# isZoomed

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

## Declaration

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

## Discussion

Discussion The value of this property is true if the window is in a zoomed state; otherwise, false. The zoomed state of the window is determined using the following steps: If the delegate or the window class implements windowWillUseStandardFrame(_:defaultFrame:), it is invoked to obtain the zoomed frame of the window. The value of isZoomed is then determined by whether or not the current window frame is equal to the zoomed frame. If the neither the delegate nor the window class implements windowWillUseStandardFrame(_:defaultFrame:), a default frame that nearly fits the screen is chosen. If the delegate or window class implements windowWillUseStandardFrame(_:defaultFrame:), it is invoked to validate the proposed zoomed frame. After the zoomed frame is validated, the value of isZoomed is determined by whether or not the current window frame is equal to the zoomed frame.

## See Also

### Sizing Windows

- [frame](appkit/nswindow/frame.md)
- [setFrameOrigin(_:)](appkit/nswindow/setframeorigin(_:).md)
- [setFrameTopLeftPoint(_:)](appkit/nswindow/setframetopleftpoint(_:).md)
- [constrainFrameRect(_:to:)](appkit/nswindow/constrainframerect(_:to:).md)
- [cascadeTopLeft(from:)](appkit/nswindow/cascadetopleft(from:).md)
- [setFrame(_:display:)](appkit/nswindow/setframe(_:display:).md)
- [setFrame(_:display:animate:)](appkit/nswindow/setframe(_:display:animate:).md)
- [animationResizeTime(_:)](appkit/nswindow/animationresizetime(_:).md)
- [aspectRatio](appkit/nswindow/aspectratio.md)
- [minSize](appkit/nswindow/minsize.md)
- [maxSize](appkit/nswindow/maxsize.md)
- [performZoom(_:)](appkit/nswindow/performzoom(_:).md)
- [zoom(_:)](appkit/nswindow/zoom(_:).md)
- [resizeFlags](appkit/nswindow/resizeflags.md)
- [resizeIncrements](appkit/nswindow/resizeincrements.md)
