Overview
KeyboardKit provides utilities that are meant to be used in the main app target, to build a great app that can provide the user with settings, configurations, etc.
Keyboard App
KeyboardKit has a KeyboardApp
struct that is also a namespace for app-related types and views, like the HomeScreen
, SettingsScreen
and LocaleScreen
screens that are unlocked with KeyboardKit Pro.
You can create an app-specific KeyboardApp
value to define your appβs name
, bundleId
, appGroupId
, licenseKey
, deepLinks
, etc.
extension KeyboardApp {
static var keyboardKitDemo: Self {
.init(
name: "KeyboardKit",
licenseKey: "abc123",
bundleId: "com.keyboardkit.demo",
appGroupId: "group.com.keyboardkit.demo"
)
}
}
Your app-specific KeyboardApp
can also resolve other properties that you may need, e.g. to perform keyboard-based dictation, enable AI-based next word prediction, etc.
Keyboard App View
The KeyboardAppView
view can be used as the root view of the main app target, to set up everything it needs to use KeyboardKit for a certain KeyboardApp
:
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
KeyboardAppView(for: .myApp) {
ContentView()
}
}
}
}
This will set up things that are defined by the app, like making keyboard setting use an App Group to sync between the app and keyboard, register a KeyboardKit Pro license key, set up dictation, etc.
π Pro Features
KeyboardKit Pro unlocks a KeyboardApp.HomeScreen
that can be used by a main keyboard app target, as well as SettingsScreen
, LocaleScreen
, and ThemeScreen
settings screens:
These screens lets you add complex, yet customizable, app screens to your main app with a single line of code. Each screen can be customized, using convenient view modifiers.
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.
Core Features
KeyboardKit is packed with features. You can upgrade to KeyboardKit Pro to unlock pro features.
Essentials
KeyboardKit provides essential features, utilities & views.
Actions
KeyboardKit makes it easy to handle keyboard actions.
App
KeyboardKit makes it easy to set up your app and its keyboard.
Callouts
KeyboardKit can show input and secondary action callouts.
Emojis
KeyboardKit defines emojis, emoji categories, skin tones, etc.
Feedback
KeyboardKit can trigger audio & haptic feedback.
Gestures
KeyboardKit can trigger & handle rich keyboard gestures.
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 lets the document proxy do a LOT more.
Settings
KeyboardKit has tools for in-app settings & System Settings.
Status
KeyboardKit detects if a keyboard is enabled, has full access, etc.
Styling
KeyboardKit lets you style your keyboards to great extent.
π Pro Features
KeyboardKit Pro unlocks powerful pro features to take your keyboard extension to the next level.
Essentials
KeyboardKit Pro unlocks more essential views & utilities.
AI Support
KeyboardKit Pro unlocks features that are needed for AI.
App
KeyboardKit Pro unlocks app-specific screens & views.
Autocomplete
KeyboardKit Pro unlocks local & remote autocomplete.
Callouts
KeyboardKit Pro unlocks callout actions for all locales.
Dictation
KeyboardKit Pro can trigger dictation from the keyboard.
Emoji Keyboard
KeyboardKit Pro unlocks an emoji keyboard & search capabilities.
External Keyboards
KeyboardKit Pro can detect if an external keyboard is being used.
Host
KeyboardKit Pro can identify and open specific host applications.
Layout
KeyboardKit Pro unlocks input sets & layouts for all locales.
Localization
KeyboardKit Pro unlocks support for 70 locales.
Previews
KeyboardKit Pro unlocks in-app keyboard & theme previews.
Proxy Utilities
KeyboardKit Pro makes the proxy able to read the full document.
Text Input
KeyboardKit Pro unlocks tools to let you type within the keyboard
Themes
KeyboardKit Pro unlocks a theme engine & many standard themes.