Autocomplete is an important part of the typing experience, where word suggestions can be shown as the user types, and where autocorrections can automatically correct the typed text.
KeyboardKit has an Autocomplete
namespace that contains autocomplete-related types and views, an observable AutocompleteContext
, and an Autocomplete.Settings
with persisted settings.
In KeyboardKit, an AutocompleteService
can provide suggestions when the user types or the cursor moves. Unlike many other services, there is no open-source autocomplete service.
π KeyboardKit Pro
KeyboardKit Pro unlocks local autocomplete for many of the 71 supported languages, as well as a remote autocomplete service that can integrate with any remote Rest API.
KeyboardKit Pro will automatically perform next-character predictions on the autocomplete results. These predictions are used to increase the tap area of more probable keys.
KeyboardKit Pro also unlocks ways to use 3rd party services to perform next word prediction. You can enable OpenAI and Claude integrations with a single line of code.
Documentation
The information on this page is shortened to be easier to overview. For more information, see the online documentation, or the KeyboardKit Pro documentation.
Features
KeyboardKit is packed with features. You can upgrade to KeyboardKit Pro to unlock pro features.
Essentials
KeyboardKit provides essential models, features & views.
Keyboard View
KeyboardKit can render a native-looking, customizable keyboard.
Actions
KeyboardKit lets you trigger and handle keyboard actions.
AI Support
KeyboardKit Pro unlocks features that are needed for AI.
App Utilities
KeyboardKit makes it easy to set up your app and its keyboard.
Autocomplete
KeyboardKit Pro unlocks local & remote autocomplete features.
Callouts
KeyboardKit can show input and secondary action callouts.
Device Utilities
KeyboardKit can identify device types, capabilities, etc.
Dictation
KeyboardKit Pro can trigger dictation from the keyboard.
Emojis
KeyboardKit defines emojis, Pro unlocks an emoji keyboard, etc.
External Keyboards
KeyboardKit Pro can detect if an external keyboard is connected.
Feedback
KeyboardKit can trigger audio & haptic feedback.
Gestures
KeyboardKit can trigger & handle rich keyboard gestures.
Host
KeyboardKit Pro can identify and open specific host applications.
Layout
KeyboardKit has fully dynamic & customizable layout engine.
Localization
KeyboardKit supports 70 locales, with localized resources.
Navigation
KeyboardKit lets you open urls and apps from the keyboard.
Previews
KeyboardKit has built-in support for SwiftUI previews.
Proxy Utilities
KeyboardKit can access the full document content in more ways.
Settings
KeyboardKit has tools for in-app settings & System Settings.
Status
KeyboardKit detects if a keyboard is enabled, has full access, etc.
Text Input
KeyboardKit Pro unlocks tools to let you type within the keyboard
Styling
KeyboardKit lets you style your keyboards to great extent.
Themes
KeyboardKit Pro unlocks a theme engine & many standard themes.