Matt Gemmell

My book Raw Materials is out now!

A collection of personal essays, with exclusive content and author's notes.

★★★★★ — Amazon

Using MAAttachedWindow with an NSStatusItem

Development & Source 1 min read

I get asked how to do this disproportionately often, so I put together a sample project showing how you can have an NSStatusItem in the menubar which spawns an MAAttachedWindow instead of a menu (really, it’s ridiculously simple - no tricks involved). It looks like this:


Could be cool for status displays, alerts, or just having a pic of your significant other floating around on your screen, and it should work on Leopard, Tiger, and very likely Panther too. You can grab the source here.