hexedbits / statusitemcontroller Goto Github PK
View Code? Open in Web Editor NEWA "view controller" for menu bar Mac apps
Home Page: https://hexedbits.github.io/StatusItemController/
License: MIT License
A "view controller" for menu bar Mac apps
Home Page: https://hexedbits.github.io/StatusItemController/
License: MIT License
Would be nice to have for testing
Update workflows, Package.swift, podspec, etc.
Will this work for Mac Catalyst to create system menu. Also can we refresh the menu in a way to have dynamic menu
I need to create system menu for Mac Catalyst
For some reason, unit tests just crash on Xcode 12.5+ during StatusItemController.init
:
self.statusItem = NSStatusBar.system.statusItem(withLength: length)
The issue is with NSStatusBar.system
๐คท๐ผ
EDIT: The issue seems to be with Big Sur. Crashes also occur with Xcode 12.4 on Big Sur...
https://github.com/hexedbits/StatusItemController/runs/3064104921?check_suite_focus=true
Using Xcode 12.4 and macOS 10.15 for now โ only for ci.yml
See: #14
No idea why this is happening. See like an AppKit bug or something?
twitter thread:
https://twitter.com/iSapozhnik/status/1247618147785609223
See:
Also relevant:
"BTW the reason why NSMenu did not show up when you do a right-click is because while consuming this NSEvent you are just setting it. If a menu would have been set upfront-it will work"
Set to minimum of macOS 11?
Implement Danger for PRs + GitHub actions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.