Provides a list of complete words that the user might be trying to type based on a partial word in a given string.
- macOS 10.3+
Range that identifies a partial word in
String with the partial word from which to generate the result.
Language to used in
nil, this method uses the language selected in the Spelling panel.
Identifies the spell document with ignored words to use.
List of complete words from the spell checker dictionary in the order they should be presented to the user.