NSApplication

extension NSApplication
  • Returns true if the application’s current event is .rightMouseUp or equivalent. Returns false otherwise.

    Declaration

    Swift

    public var isCurrentEventRightClickUp: Bool { get }