mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
778 B
778 B
| title |
|---|
| .getInstalledPackage(for:) |
Summary
The getInstalledPackage<Resource: LanguageResource>() method is used to install resources from opened package files.
Syntax
ResourceFileManager.shared.getInstalledPackage<Resource: LanguageResource>(for: Resource)
Parameters
for- Either a
InstalledKeyboardor aInstalledLexicalModelthat has been previously installed.
Returns
The package, as currently installed. May return nil if the specified resource is not currently installed.
History
- Added in Keyman Engine for iPhone and iPad 14.0.
See also
installedPackages: [KeymanPackage]: Returns an array of all currently-installed packages.