<!--
{
  "availability" : [
    "macOS: 12.0.0 -",
    "swift: 5.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewInvalidating/display",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:6AppKit18NSViewInvalidatingPAASo0C0CAAE13InvalidationsO7DisplayVRszrlE7displayAIvpZ"
  },
  "title" : "display"
}
-->

# display

A change that requires the system to redraw a view’s content.

```
static var display: NSView.Invalidations.Display { get }
```

## Discussion

Use this invalidation type to set [`needsDisplay`](/documentation/AppKit/NSView/needsDisplay) so that a change in property value triggers the system to redraw the containing view’s content.

---

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)