Instance Property

itemArray

An array containing the menu items in the menu.

Declaration

@property(copy) NSArray<NSMenuItem *> *itemArray;

Discussion

This property contains an array of menu items in the menu.

See Also

Finding Menu Items

- itemWithTag:

Returns the first menu item in the menu with the specified tag.

- itemWithTitle:

Returns the first menu item in the menu with a specified title.

- itemAtIndex:

Returns the menu item at a specific location of the menu.

numberOfItems

The number of menu items in the menu, including separator items.