Enumeration

UIMenuElementAttributes

Attributes that determine the style of the menu element.

Declaration

typedef enum UIMenuElementAttributes : NSUInteger {
    ...
} UIMenuElementAttributes;

Topics

Attributes

UIMenuElementAttributesDestructive

An attribute indicating the destructive style.

UIMenuElementAttributesDisabled

An attribute indicating the disabled style.

UIMenuElementAttributesHidden

An attribute indicating the hidden style.

See Also

Menu Elements and Keyboard Shortcuts

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.

UIMenuElement

An object representing a menu, action, or command.

UIAction

A menu element that performs its action in a block.

UICommand

A menu element that performs its action in a selector.

UIKeyCommand

An object that specifies a key press performed on a hardware keyboard and the resulting action.

UIMenuElementState

Constants that indicate the state of an action- or command-based menu element.