KeyboardKit is easy to install and start using. Be up and running in minutes, with little or no extra code.
Add KeyboardKit to your project with the Swift Package Manager.
https://github.com/KeyboardKit/KeyboardKit
Setting up KeyboardKit for your keyboard extension is super simple.
import KeyboardKit class KeyboardViewController: KeyboardInputViewController { override func viewWillSetupKeyboardKit() { super.viewWillSetupKeyboardKit() setupKeyboardKit(for: .keyboardkit) { [weak self] result in ... } } // Optional override func viewWillSetupKeyboardView() { setupKeyboardView { [unowned self] controller in CustomKeyboardView(...) } } }
This will register your Pro license, setup services, and enable data sync with the main app. You can also customize the default KeyboardView or use completely custom view.
Setting up KeyboardKit for your main app is equally easy.
import KeyboardKit @main struct KeyboardKitApp: App { var body: some Scene { WindowGroup { KeyboardAppView(for: .myApp) { ContentView() } } } }
This will register your Pro license, setup services, and enable data sync with the keyboard.
Join thousands of developers creating amazing keyboard experiences with KeyboardKit. Start building today!