Contents

numberOfItems

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

Declaration

var numberOfItems: Int { get }

Discussion

This property contains a value of type NSInteger that indicates the number of menu items in the menu, including separator items.

See Also

Finding Menu Items