<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutManager/invalidateDisplay(forGlyphRange:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSLayoutManager(im)invalidateDisplayForGlyphRange:"
  },
  "title" : "invalidateDisplay(forGlyphRange:)"
}
-->

# invalidateDisplay(forGlyphRange:)

Invalidates a range of glyphs, requiring new layout information, and updates the appropriate regions of any text views that display those glyphs.

```
func invalidateDisplay(forGlyphRange glyphRange: NSRange)
```

## Parameters

`glyphRange`

The range of glyphs to invalidate.

## Discussion

You should rarely need to invoke this method.

---

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)