The NSStatusItem menu shows correctly but when I click on menu the action not fire. Since the app is compatible with Mac Catalyst, I created framewor ...
The NSStatusItem menu shows correctly but when I click on menu the action not fire. Since the app is compatible with Mac Catalyst, I created framewor ...
I'm trying to figure out a weird problem that's happening with my menu bar app. It would run perfectly fine for a couple of hours or even days but wou ...
I am trying to detect when a string is getting dragged onto the NSStatusItem. Here is the implementation of my code in AppDelegate: And here is my ...
I have the following extension where I have a NSMenuItem with it's state being either on or off: As soon as I want to change the state of the sHand ...
I have a Swift Cocoa app that runs as an NSStatusItem, i.e., it presents a dropdown menu in Mac's top-right status bar. I would like to display extra ...
I'm new at Swift and I can't seem to find any resource for what I'm trying to achieve. Most of what I find applies only to views. I have a statusBarI ...
I'm trying to use key value observation to determine when an NSStatusItem is dragged out of the menu bar by the user with the removalAllowed behavior. ...
I would like to display a two-line NSAttributedString as the button title of the NSStatusItem of my macOS app. However, it seems to move the text up a ...
Originally I thought adding new line should work. The problem is, the line height is too big. How can I make it more dense(closer to each other)? The ...
I have a NSStatusItem with a menu attached. How can I get mouse/touch events from the status item without losing the menu? I was thinking perhaps some ...
I create a NSStatusItem and add an image. After the image has been added, changing the image.template property has no immediate effect on the icon. On ...
How to change the menubar icon of a MacOS app from another ViewController? AppDelegate.swift (inits menubar icon) ViewController.swift (tries to ...
I know there are a bunch of questions similar to this, but they are all very outdated, basically I have a statusBarItem and I want to make it responsi ...
I'm looking for a way to detect if the screen is currently being recorded. Ideally, an event for when the recording starts/stops. Maybe some kind of d ...
I'm looking for a way to remove the pale effect from the NSStatusBarButton. This is a picture of how it currently looks: This is how it should look ...
I'm trying to make a simple macOS Cocoa application using NSStatusItem to create a clickable icon on the system status bar. However, when I launch my ...
I currently have a NSStatusBar with a NSStatusBarItem with a title displaying. But I wan't to replace the title/text with a custom NSView. How can I d ...
I am currently trying to reduce the default vibrancy that is added to NSStatusBarItems icons in Mac OS. I understand this can be achieved by changing ...
I am building a macOS menubar app in Swift, using an NSStatusItem, which opens an NSPopover when the NSStatusItem's button is clicked. How can I also ...
The following code draws a rectangle with NSBezierPath into an NSImage, which is then set as the image for an NSStatusItemButton. In the menu bar, ...