---
title: "showInlinePrediction(forCandidates:client:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsspellchecker/showinlineprediction(forcandidates:client:)"
---

# showInlinePrediction(forCandidates:client:)

## Declaration

```swift
func showInlinePrediction(forCandidates candidates: [NSTextCheckingResult], client: any NSTextInputClient)
```

## See Also

### Instance Methods

- [deletesAutospaceBetweenString(_:andString:language:)](appkit/nsspellchecker/deletesautospacebetweenstring(_:andstring:language:).md)
- [language(forWordRange:in:orthography:)](appkit/nsspellchecker/language(forwordrange:in:orthography:).md)
- [preventsAutocorrection(before:language:)](appkit/nsspellchecker/preventsautocorrection(before:language:).md)
- [requestCandidates(forSelectedRange:in:types:options:inSpellDocumentWithTag:completionHandler:)](appkit/nsspellchecker/requestcandidates(forselectedrange:in:types:options:inspelldocumentwithtag:completionhandler:).md)
