Instance Method

init

No overview available.

Declaration

- (instancetype)init;

See Also

Creating a Key Command Object

+ commandWithTitle:image:action:input:modifierFlags:propertyList:

Creates a key command that you can use as a menu element with a shortcut key, or a shortcut key only for a view controller.

+ commandWithTitle:image:action:input:modifierFlags:propertyList:alternates:

Creates a key command with alternatives that you can use as a menu element with a shortcut key, or a shortcut key only for a view controller.

+ keyCommandWithInput:modifierFlags:action:

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

+ keyCommandWithInput:modifierFlags:action:discoverabilityTitle:

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.