---
title: run()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/nsspellserver/run()
---

# run()

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

## Declaration

```swift
func run()
```

## Discussion

Discussion This method starts a loop that never returns; you need to set the NSSpellServer object’s delegate before sending this message.

## See Also

### Related Documentation

- [delegate](foundation/nsspellserver/delegate.md)

### Providing Spelling Services

- [registerLanguage(_:byVendor:)](foundation/nsspellserver/registerlanguage(_:byvendor:).md)
