---
title: "deleteGlyphs(in:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstypesetter/deleteglyphs(in:)"
---

# deleteGlyphs(in:)

Deletes the specified glyphs from the glyph cache maintained by the layout manager.

## Declaration

```swift
func deleteGlyphs(in glyphRange: NSRange)
```

## Parameters

- `glyphRange`: The range of glyphs to be deleted.

## Discussion

Discussion A subclass can override this method to interact with custom glyph storage.

## See Also

### Deprecated

- [actionForControlCharacter(at:)](appkit/nstypesetter/actionforcontrolcharacter(at:).md)
- [substituteGlyphs(in:withGlyphs:)](appkit/nstypesetter/substituteglyphs(in:withglyphs:).md)
- [getGlyphs(in:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:)](appkit/nstypesetter/getglyphs(in:glyphs:characterindexes:glyphinscriptions:elasticbits:bidilevels:).md)
- [insertGlyph(_:atGlyphIndex:characterIndex:)](appkit/nstypesetter/insertglyph(_:atglyphindex:characterindex:).md)
- [NSTypesetterControlCharacterAction](appkit/nstypesettercontrolcharacteraction.md)
