init(_:modifiers:)
Creates a new keyboard shortcut with the given key equivalent and set of modifier keys.
Declaration
init(_ key: KeyEquivalent, modifiers: EventModifiers = .command)Discussion
The localization configuration defaults to automatic.
Creates a new keyboard shortcut with the given key equivalent and set of modifier keys.
init(_ key: KeyEquivalent, modifiers: EventModifiers = .command)The localization configuration defaults to automatic.