No overview available.
SDK
- macOS 10.12.2+
Framework
- App
Kit
Declaration
func requestCandidates(forSelectedRange selectedRange: NSRange, in stringToCheck: String, types checkingTypes: NSText Checking Types, options: [NSSpell Checker.Option Key : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler: ((Int, [NSText Checking Result]) -> Void)? = nil) -> Int