LayoutKey

struct LayoutKey

An object that describes a keyboard key.

Summary

Initializers
LayoutKey(rect: CGRect, labels: [String])
Properties
[String] labels
A list of labels for the key.
CGRect rect
The rect of the key relative to the bounds of the keyboard.

Initializers

LayoutKey

init(rect: CGRect, labels: [String])
Parameters
rect: CGRect The rect of the key relative to the bounds of the keyboard.
labels: [String] A list of labels for the key.

Properties

rect

let rect: CGRect

The rect of the key relative to the bounds of the keyboard.

labels

let labels: [String]

A list of labels for the key.


If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on August 8, 2022