Initializer

init(coder:)

No overview available.

Declaration

init?(coder: NSCoder)

See Also

Creating a Key Command Object

init(input: String, modifierFlags: UIKeyModifierFlags, action: Selector)

Creates a new key command object that matches the specified input.

init(input: String, modifierFlags: UIKeyModifierFlags, action: Selector, discoverabilityTitle: String)

Creates and returns a new key command object that matches the specified input and has a title.

Deprecated
Adding Menus and Shortcuts to the Menu Bar and User Interface

Provide quick access to useful actions by adding menus and keyboard shortcuts to your Mac Catalyst app.