Slashdot Mirror


Which Coding Framework for Mac OS X ?

DrStrangeLoop asks: "I am in the progress of getting into coding for Mac OS X, and I am wondering which GUI framework/language i should focus on. Apparantly, there are at least three options: the Cocoa Objective-C API [I don't want to learn Objective-c, but it seems that's how Apple wants me to code], the Cocoa Java API [gets compiled to PPC binaries, lots of APIs available [think Google], but absolutely no decent documentation to be found] and Swing Java classes [look 'n feel of Cocoa, but portable]. However, the most important feature for me is a clean and easy IPC with BSD layer processes. I figure sockets will work with all options, but what about the other mechanisms? Any suggestions?" Update: 10/13 22:08 GMT by C :For those curious about the Cocoa/Carbon debate, you can find an article that discusses this very issue, here. Thanks to the folks over at Freenode's #macdev for providing the link.

2 of 327 comments (clear)

  1. Best Framework for Mac OS X by Anonymous Coward · · Score: 0, Troll


    Do not use Carbon. The Carbon API has to go through a compatability layer, so any program written in Carbon will always be slower and less capable than its Cocoa version. Also, the Cocoa API is actually very easy to use once you learn the very simple connect protocols. Go to www.macdevcenter.com and goto the cocoa column for some great examples.

  2. What about QT? by wray · · Score: 0, Troll

    I am not sure of your position, (because the developer license costs money for Mac OSX) but QT has the advantage of porting to about every platform there is.

    --
    Guess what? I got a fever! And the only prescription.. is more cowbell!