---
title: viewsNeedDisplay
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/viewsneeddisplay
---

# viewsNeedDisplay

A Boolean value that indicates whether any of the window’s views need to be displayed.

## Declaration

```swift
var viewsNeedDisplay: Bool { get set }
```

## Discussion

Discussion The value of this property is true when any of the window’s views need to be displayed; otherwise, false. You should rarely need to set this property; the NSView method needsDisplay and similar methods set it automatically.

## See Also

### Drawing Windows

- [display()](appkit/nswindow/display().md)
- [displayIfNeeded()](appkit/nswindow/displayifneeded().md)
- [allowsConcurrentViewDrawing](appkit/nswindow/allowsconcurrentviewdrawing.md)
