Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 16.0 (current version)Version 15.0Version 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

.installableResources(forLanguage:)

Summary

The KeymanPackage.installableResources(forLanguage: String) method enumerates all resources and language pairings supported by the current package for the specified language code.

Syntax

KeymanPackage.installableResources(forLanguage: String) -> [ AnyLanguageResource ]

Parameters

forLanguage: String
A BCP-47 language code.

Value

An array of InstallableKeyboard (for a KeyboardKeymanPackage) or InstallableLexicalModel (for a LexicalModelKeymanPackage) instances.

For most packages, there will only be a single entry in this array. However, note that multi-keyboard packages may support multiple keyboards for the same target language.

History

Added in Keyman Engine for iPhone and iPad 14.0.

See also

installableResourceSets: [[ AnyLanguageResource ]]
Returns a list of all resources & language pairings supported by this package.
TypedKeymanPackage.installables(forLanguage: String): [ TypedLanguageResource ]
Provides the same functionality as this method for TypedKeymanPackage and its subclasses, taking advantage of the class's generic specification to return a more strongly-typed array.