<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSSpellServer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSpellServer"
  },
  "title" : "NSSpellServer"
}
-->

# NSSpellServer

A server that your app uses to provide a spell checker service to other apps running in the system.

```
class NSSpellServer
```

## Overview

A **service provider** is an application that declares its availability in a standard way, so that any other applications that wish to use it can do so. If you build a spelling checker that makes use of the [`NSSpellServer`](/documentation/Foundation/NSSpellServer) class and list it as an available service, then users of any application that makes use of <doc://com.apple.documentation/documentation/AppKit/NSSpellChecker> or includes a Services menu will see your spelling checker as one of the available dictionaries.

## Topics

### Configuring Spelling Servers

[`delegate`](/documentation/Foundation/NSSpellServer/delegate)

Returns the receiver’s delegate.

### Providing Spelling Services

[`-  registerLanguage:byVendor:`](/documentation/Foundation/NSSpellServer/registerLanguage(_:byVendor:))

Notifies the receiver of a language your spelling checker can check.

[`-  run`](/documentation/Foundation/NSSpellServer/run())

Causes the receiver to start listening for spell-checking requests.

### Managing the Spell-Checking Process

[`-  isWordInUserDictionaries:caseSensitive:`](/documentation/Foundation/NSSpellServer/isWord(inUserDictionaries:caseSensitive:))

Indicates whether a given word is in the user’s list of learned words or the document’s list of words to ignore.

### Constants

[Grammatical-Analysis Details](/documentation/Foundation/grammatical-analysis-details)

These constants are used as the keys in the outDetails dictionaries returned by [`NSSpellServer`](/documentation/Foundation/NSSpellServer) and <doc://com.apple.documentation/documentation/AppKit/NSSpellChecker/checkGrammar(of:startingAt:language:wrap:inSpellDocumentWithTag:details:)> (<doc://com.apple.documentation/documentation/AppKit/NSSpellChecker>).

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)