static let upArrow : KeyEquivalent
static let downArrow : KeyEquivalent
static let leftArrow : KeyEquivalent
static let rightArrow : KeyEquivalent
Availability 有効性
Technology
struct KeyEquivalent
Key equivalents are used to establish keyboard shortcuts to app functionality. Any key can be used as a key equivalent as long as pressing it produces a single character value. Key equivalents are typically initialized using a single-character string literal, with constants for unprintable or hard-to-type values.
The modifier keys necessary to type a key equivalent are factored in to the resulting keyboard shortcut. That is, a key equivalent whose raw value is the capitalized string “A” corresponds with the keyboard shortcut Command-Shift-A. The exact mapping may depend on the keyboard layout—for example, a key equivalent with the character value “}” produces a shortcut equivalent to Command-Shift-] on ANSI keyboards, but would produce a different shortcut for keyboard layouts where punctuation characters are in different locations.
static let upArrow : KeyEquivalent
static let downArrow : KeyEquivalent
static let leftArrow : KeyEquivalent
static let rightArrow : KeyEquivalent
static let clear: KeyEquivalent
static let delete: KeyEquivalent
static let deleteForward : KeyEquivalent
static let end: KeyEquivalent
static let escape: KeyEquivalent
static let home: KeyEquivalent
static let pageDown : KeyEquivalent
static let pageUp : KeyEquivalent
static let `return`: KeyEquivalent
static let space: KeyEquivalent
static let tab: KeyEquivalent
init(Character)
var character: Character
struct KeyboardShortcut
struct EventModifiers