Instance Property

highlightedItem

Indicates the currently highlighted item in the menu.

Declaration

var highlightedItem: NSMenuItem? { get }

Discussion

This property indicates the currently highlighted item in the menu. If no menu is highlighted, this property has a value of nil.