![]() The main gist of the code that gets this working (in the AppDelegate) is: let statusItem = (withLength: NSStatusItem. I’m not going to duplicate the setup steps of these tutorials here. This WeatherBar tutorial was also really useful as a second reference. That walks you through building a simple status bar app with a popover. I cracked open a new macOS app in Xcode and found this great tutorial Menus and Popovers in Menu Bar Apps for macOS (or understand) that I wouldn’t be happy maintaining my fork, if I could evenĪt this point though I was starting to understand what was needed to make it work,Īnd had a great reference app to look at I decided to have a go building it from scratch. I figured it would be a good starting point though but afterĭelving deeper into the code I realised it was doing so much more that I would need The same time and the media keys not doing anything for me that meant it wasn’t Unfortunately there were a number of major bugs, eg. Keys in the code so I thought I’d hit the jackpot. WebShellĪlso allows you to configure it as a status bar app and has references to the media Player up and running with almost the same results as the webview app. Like it would allow for more customisation at the expense of the cross-platformįollowing the instructions and doing a little bit of configuration I had a StatsBar gives you quick information on your CPU, memory, disk usage, network, and power/battery. There isn’t really any room for customisation, unless you want to get your handsĭirty with C so it doesn’t really meet all my criteria. The only downside to this great project is that it abstracts so much away from you It really couldn’t be any simpler to get started and results in a native player, Native app with cross-platform support (windows, mac, linux) very simply, this is The webview golang project assists you in writing a Wrap websites in web views so I thought I’d start there. There are a couple of projects I’d heard of that assisted you writing apps that Media key support for pause/play from the keyboard Relatively new BBC Sounds web app would be ideal, Look at what was available and determined that a WebView app of the Having a few rare hours to spare over Christmas this year I started to have a StatsBar gives you a comprehensive and detailed analysis of the following areas of your Mac: CPU usage Memory usage Disk usage Network and bandwidth usage Battery power and health (MacBooks only) Monitoring these stats allows you to easily keep a check on your Mac's health and performance. I really want and I have intended to revisit it for a while. This is probably my most used app on the mac but it lacks a lot of features This allows you to simply switch between a preset list of radio streamsĪnd has media key support so you can pause/play and change station with the I listen to the radio a lot while developing and after trying the availableĪpps at the time I wrote a simple native status bar app a few years ago in Ruby using the The documentation of what I discovered while building a WebKit view status barĪpp for macOS with native media key support controlling the playback in the WebView.
0 Comments
Leave a Reply. |