Callouts

KeyboardKit can show input and secondary action callouts.

πŸ—―

Overview

Callouts are an important part of the typing experience, where input callouts highlight the currently pressed character and action callouts show secondary actions.

KeyboardKit Pro unlocks localized callout actions for all locales, with no additional code needed.

Namespace

KeyboardKit has a Callouts namespace that contains callout-related types and views. For instance, an InputCallout shows the pressed character while an ActionCallout shows callout actions.

Context

KeyboardKit has an observable CalloutContext class that provides observable callout state, such as the currently pressed key or the callout actions to present, as well as auto-persisted settings.

Services

In KeyboardKit, a CalloutService can be used to provide secondary actions for any key, which are then presented when a key with secondary actions is long pressed.

Views

The Callouts namespace has callout views, that can be used to mimic the native iOS callouts:

An input callout
An action callour

The KeyboardView automatically registers everything needed to automatically show these callouts.

πŸ‘‘ KeyboardKit Pro

KeyboardKit Pro unlocks localized callout actions for all locales, to let KeyboardView show localized callout actions without having to write any additional 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.


Core Features

KeyboardKit is packed with features. You can upgrade to KeyboardKit Pro to unlock pro features.

πŸ‘‘ Pro Features

KeyboardKit Pro unlocks powerful pro features to take your keyboard extension to the next level.