Matt Gemmell

TOLL is available now!

An action-thriller novel — book 2 in the KESTREL series.

★★★★★ — 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.