Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A sure-fire way to tell Carbon apps from Cocoa apps System
I have found a very interesting way to tell Cocoa apps from Carbon apps. First you have to set the dock to always show. Then drag the window of the application in question down to the dock area and past it. If the window stops and remains at the top of the dock, you have yourself a Carbon app; if it continues past, then you have yourself a Cocoa app (though the windwo will spring back to the top of the dock when released).

[robg adds: We've had a couple of previous hints (1,2) on distinguishing Carbon from Cocoa. Personally, I still don't usually care, but I thought this method was interesting enough to add to the archives...]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,822 views]  

A sure-fire way to tell Carbon apps from Cocoa apps | 5 comments | Create New Account
Click here to return to the 'A sure-fire way to tell Carbon apps from Cocoa apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Uses of Cocoa
Authored by: thelamecamel on Jul 03, '03 03:18:49AM

There are decent reasons to know whether or not a program is written in Cocoa.

Firstly, as mentioned in another hint, Services such as OmniDictionary only work for Cocoa programs. (otherwise you have to cut and paste the word you want to look up)

http://www.omnigroup.com/applications/omnidictionary/

Secondly, there are programs like Cocoa Gestures that add functionality to Cocoa programs, but are not supported by Carbon. (Incidentally, whether or not the Cocoa Gestures item appears in the application's menu is another test for whether a program is Cocoa).

http://www.macosxhints.com/article.php?story=20021028011514691



[ Reply to This | # ]
A sure-fire way to tell Carbon apps from Cocoa apps
Authored by: eno on Jul 03, '03 05:09:34AM

All these hints are useless.

"Carbon apps" can call Cocoa API.

And "Cocoa apss" can call Carbon API.

The distinction between the two is increasingly meaningless.

There are very few "Cocoa apps" out there today which don't link against Carbon.



[ Reply to This | # ]
A sure-fire way to tell Carbon apps from Cocoa apps
Authored by: gralem on Jul 03, '03 09:06:14AM

I really like this suggestion--it's simple. But what does it say about iMovie? It doesn't follow either behavior? Any ideas?



[ Reply to This | # ]
A sure-fire way to tell Carbon apps from Cocoa apps
Authored by: Frungi on Apr 06, '06 10:54:26AM

OmniWeb is Carbon…?



[ Reply to This | # ]
A sure-fire way to tell Carbon apps from Cocoa apps
Authored by: Frungi on Apr 06, '06 10:55:44AM

Never mind, I misread the hint. Please delete these two comments.



[ Reply to This | # ]