Skip to content

Commit

Permalink
Update SpellChecker.swift (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ensan-hcl authored Feb 6, 2024
1 parent 9dab49d commit a7269fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import AppKit
#endif

func completions(forPartialWordRange range: NSRange, in string: String, language: String) -> [String]? {
#if os(iOS) || os(tvOS)
#if os(iOS) || os(tvOS) || os(visionOS)
return checker.completions(forPartialWordRange: range, in: string, language: language)
#elseif os(macOS)
return checker.completions(forPartialWordRange: range, in: string, language: language, inSpellDocumentWithTag: 0)
Expand Down

0 comments on commit a7269fb

Please sign in to comment.