Skip to content

A random nugget of Mac information

Sorry about the lack of posting here, I’ve been mighty busy here working on other blogs I contribute too and plently of other stuff too.

Today I want to share a random bit of Mac trivia that I noticed. Be warned, it is really quite random, but it’s also pretty cool.

It’s a few ways to tell whether a Mac application is a Cocoa application or not, by looking at very subtle differences in how they work.

First of all, this is a nice easy way to discover whether something’s a Cocoa app. It works in all applications that use Cmd-M as the keyboard shortcut to minimise a window. Focus a window of your target application and press Cmd-M.

Watch the amber traffic light carefully as it minimises. If you can see the little minus sign in the traffic light as it minimises, then it is a Cocoa app. You must press Cmd-M, not just click the button, otherwise it won’t work.

Let’s take a look. In Safari, a Cocoa app, you can see the minus sign as it minimises:

Safari = Cocoa

But in Firefox, not a Cocoa app, nothing is visible:

Firefox = not Cocoa

You wouldn’t believe how difficult it was to get those screenshots in mid-minimise by the way. 😉

Anyway, that is basically it. From that you can tell whether or not an app is built with Cocoa. As far as I know, it’s pretty accurate, but let me know if it’s wrong at all.

There’s also another one. If your target application has a show/hide toolbar toggle button, click it. If the animation is smooth, it’s Cocoa. If there is no animation and it just switches, it’s likely to not be Cocoa.

Just thought I’d share that with everybody. Because I notice strange subtle details like that.

Like this post?

If you would like to support the time and effort I have put into my tutorials and writing, please consider making a donation.

2 Comments

  1. Jack wrote:

    Youb do know if you press SHIFT when you click the yellow button, it slows it down. Its really usefull!

    Wednesday, April 18, 2007 at 22:17 | Permalink | Using Mozilla Firefox Mozilla Firefox 2.0.0.3 on Mac OS X Mac OS X Mach
  2. Peter wrote:

    Yeah, that’s a neat trick! I do know that one, but it doesn’t work for this as you have to click the button (which means that you hover over and all three buttons show the symbols regardless and you can’t do the Cocoa identification).

    I tried Shift whilst hitting Cmd-M, but that didn’t work for me.

    Wednesday, April 18, 2007 at 22:21 | Permalink | Using Mozilla Firefox Mozilla Firefox 2.0.0.3 on Mac OS Mac OS

Post a Comment

On some sites, you must be logged in to post a comment. This is not the case on this site.
Your email address is not made public or shared. Required fields are marked with *.
*
*
*

Posting a comment signifies you accept the privacy policy.
Please note — usually your comment will appear straight away but sometimes it will be held for approval (this is due to the spam filter). If your comment is waiting to be approved, please don’t post it again! It will appear eventually.