Settings

KeyboardKit lets you use keyboard settings that automatically sync between the main app and its keyboard.

Keyboard Settings

Each namespace provide its own auto-persisted settings. KeyboardSettings provides essential settings, while types like AutocompleteSettings and DictationSettings provide feature-specific settings.

Each context type has a settings property that is used as the main settings value for each feature. You can access these contexts as environment objects, and get and set their values as needed.

Data Syncing

Many keyboard apps use the main app target to onboard the user, show the keyboard state, and provide a large UI for settings. This means that the app and keyboard must sync setting changes between the two targets.

KeyboardKit therefore has an App Group-synced keyboardSettings store that automatically syncs data between the main app and its keyboard. Just set up an App Group, and KeyboardKit takes care of the rest.

KeyboardKit Pro

KeyboardKit Pro unlocks screen templates that can be used by the main app or within a keyboard:

A Home Screen
A Settings Screen
A Locale Screen
A Locale Screen

These screens can be added with a single line of code. Each screen can be customized and localized.

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.