struct LayoutKey
An object that describes a keyboard key.
| 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. |
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. |
let rect: CGRect
The rect of the key relative to the bounds of the keyboard.
let labels: [String]
A list of labels for the key.