<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSChangeSpelling",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSChangeSpelling"
  },
  "title" : "NSChangeSpelling"
}
-->

# NSChangeSpelling

A protocol that responder objects can implement to correct a misspelled word.

```
protocol NSChangeSpelling
```

## Topics

### Changing spellings

[`-  changeSpelling:`](/documentation/AppKit/NSChangeSpelling/changeSpelling(_:))

Replaces the selected word in the receiver with a corrected version from the Spelling panel.

## Relationships

### Conforming Types

[`NSTextView`](/documentation/AppKit/NSTextView)

[`NSText`](/documentation/AppKit/NSText)

---

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)