Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 15.0 (current version)Version 14.0Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0 (home page)

On this page

.installables()

Summary

The TypedKeymanPackage.installables field enumerates all resources and language pairings supported by the current package. This is equivalent to KeymanPackage.installableResourceSets, but with more precise typing.

Syntax

TypedKeymanPackage.installables: [[ TypedLanguageResource ]]

Value

The two dimensional array may be interpreted as follows:

package.installables[resourceIndex][languageIndex]
resourceIndex
Some legacy keyboard packages may support multiple keyboards. This index enumerates the unique keyboards (or lexical models) contained within the package.
languageIndex
Some resources support multiple languages. For example, Keyman's default keyboard - sil_euro_latin There will be one entry for each language supported by the resource.
The indexed value
An InstallableKeyboard (for a KeyboardKeymanPackage) or an InstallableLexicalModel (for a LexicalModelKeymanPackage).

These objects include data about the resource's fonts, targeted language code, and resource identifiers.

History

Added in Keyman Engine for iPhone and iPad 14.0.

See also

findResource(withID:) -> TypedLanguageResource?
Returns the resource matching the specified ID, if contained within the package.
installables(forLanguage: String): [ TypedLanguageResource ]
Provides the same functionality as this field, but filtered to a specific language code.