---
title: contentResizeIncrements
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/contentresizeincrements
---

# contentResizeIncrements

The window’s content-view resizing increments.

## Declaration

```swift
var contentResizeIncrements: NSSize { get set }
```

## Discussion

Discussion The value of this property restricts the user’s ability to resize the window so the width and height of its content view change by multiples of width and height increments. As the user resizes the window, the size of its content view changes by integral multiples of contentResizeIncrements.width and contentResizeIncrements.height. However, you can set a window’s size to any width and height programmatically. This property takes precedence over resizeIncrements.

## See Also

### Sizing Content

- [contentAspectRatio](appkit/nswindow/contentaspectratio.md)
- [contentMinSize](appkit/nswindow/contentminsize.md)
- [setContentSize(_:)](appkit/nswindow/setcontentsize(_:).md)
- [contentMaxSize](appkit/nswindow/contentmaxsize.md)
- [contentLayoutGuide](appkit/nswindow/contentlayoutguide.md)
- [contentLayoutRect](appkit/nswindow/contentlayoutrect.md)
- [maxFullScreenContentSize](appkit/nswindow/maxfullscreencontentsize.md)
- [minFullScreenContentSize](appkit/nswindow/minfullscreencontentsize.md)
