Autocomplete
Autocomplete is an important part of the typing experience, where word suggestions can be shown as the user types, and autocorrections can automatically correct mistyped words.
Autocomplete
KeyboardKit has autocomplete-related types and views, like the observable AutocompleteContext, auto-persisted AutocompleteSettings, AutocompleteService implementations, etc.
With autocomplete enabled, KeyboardKit will automatically show autocomplete suggestions, autocorrections, next word predictions, emojis, etc. above the keyboard:

Autocomplete Services
KeyboardKit Pro unlocks a StandardAutocompleteService that can autocomplete and autocorrect text, autocomplete emojis, perform next-word and next-character predictions, and much more.
The standard autocomplete service uses on-device capabilities provided by Apple to support these languages:
Arabic (ar), Arabic, Najdi (ars), Bulgarian (Bulgaria) (bg_BG), Czech (Czechia) (cs_CZ), Danish (Denmark) (da_DK), German (Germany) (de_DE), Greek (Greece) (el_GR), English (Australia) (en_AU), English (Canada) (en_CA), English (United Kingdom) (en_GB), English (India) (en_IN), English (New Zealand) (en_NZ), English (Philippines) (en_PH), English (Singapore) (en_SG), English (United States) (en_US), English (South Africa) (en_ZA), Spanish (Spain) (es_ES), Spanish (Mexico) (es_MX), Finnish (Finland) (fi_FI), French (France) (fr_FR), Irish (Ireland) (ga_IE), Hebrew (Israel) (he_IL), Hindi (hi), Hungarian (Hungary) (hu_HU), Indonesian (Indonesia) (id_ID), Icelandic (Iceland) (is_IS), Italian (Italy) (it_IT), Japanese (Japan) (ja_JP), Korean (South Korea) (ko_KR), Lithuanian (Lithuania) (lt_LT), Norwegian Bokmål (Norway) (nb_NO), Dutch (Netherlands) (nl_NL), Norwegian Nynorsk (nn), Punjabi (pa), Polish (Poland) (pl_PL), Portuguese (Brazil) (pt_BR), Portuguese (Portugal) (pt_PT), Romanian (Romania) (ro_RO), Russian (Russia) (ru_RU), Slovenian (Slovenia) (sl_SI), Swedish (Sweden) (sv_SE), Telugu (te), Turkish (Türkiye) (tr_TR), Ukrainian (Ukraine) (uk_UA), Vietnamese (Vietnam) (vi_VN), Chinese, Simplified (zh-Hans), Chinese, Traditional (zh-Hant)
This list is provided by Apple’s on-device tools, but we have found its capabilities lacking for some languages in this list, and that operating system updates may break previously working langauges.
To support more languages, you can subclass and customize StandardAutocompleteService, implement AutocompleteService from scratch, or use KeyboardKitAutocompletePlugin for more functionality.
Next Word Prediction
KeyboardKit Pro unlocks ways to use Apple Intelligence and 3rd party tools like Claude and OpenAI to perform next word prediction. You can enable OpenAI and Claude with a single line of code.
Next Character Prediction
KeyboardKit Pro unlocks ways to perform next character prediction, to predict which keys that are more likely to be pressed next. This is used to power other features, like predictive typing.
Predictive Typing
KeyboardKit Pro can use next character prediction to provide “Predictive Typing” assistance, where the key tap area will be increased for more probable keys.
Documentation
The information on this page has been shortened to be easier to overview and keep up to date. For a complete feature description, see the online documentation.