static let automatic: KeyboardShortcut .Localization
static let custom: KeyboardShortcut .Localization
static let withoutMirroring : KeyboardShortcut .Localization
Availability 有効性
Technology
struct Localization
A shortcut’s key
that is defined on an US-English keyboard layout might not be reachable on international layouts. For example the shortcut ⌘[
works well for the US layout but is hard to reach for German users. On the German keyboard layout, pressing ⌥5
will produce [
, which causes the shortcut to become ⌥⌘5
. If configured, which is the default behavior, automatic shortcut remapping will convert it to ⌘Ö
.
In addition to that, some keyboard shortcuts carry information about directionality. Right-aligning a block of text or seeking forward in context of music playback are such examples. These kinds of shortcuts benefit from the option without
to tell the system that they won’t be flipped when running in a right-to-left context.
static let automatic: KeyboardShortcut .Localization
static let custom: KeyboardShortcut .Localization
static let withoutMirroring : KeyboardShortcut .Localization
init(KeyEquivalent , modifiers: EventModifiers , localization: KeyboardShortcut .Localization)
var localization: KeyboardShortcut .Localization