supermenu
The parent menu that contains the menu as a submenu.
Declaration
unowned(unsafe) var supermenu: NSMenu? { get set }Discussion
This property contains a value of type NSMenu representing the the parent menu that contains the menu as a submenu. If the menu has no parent menu, then the value of this property is nil.
You should never invoke the setter method for this property directly. The setter method is called automatically when changes to the parent menu occur. You can, however, override the setter method for this property in order to take action when changes to the parent menu occur.