Instance Property

parent

The menu item whose submenu contains the receiver.

Declaration

unowned(unsafe) var parent: NSMenuItem? { get }

See Also

Managing Submenus

var submenu: NSMenu?

The submenu of the menu item.

var hasSubmenu: Bool

A Boolean value that indicates whether the menu item has a submenu.