NSMenu

class NSMenu : NSObject, NSCopying, NSCoding, NSUserInterfaceItemIdentification, NSAccessibilityElementProtocol, NSAccessibilityProtocol
  • Returns an item with a specified tag, or nil if the item was not found.

    Declaration

    Swift

    public func findItem(tag: Int) -> NSMenuItem?
  • Add numeric key equivalents to the menu items.

    Declaration

    Swift

    public func addKeyEquivalents()