I am rather new to programming and want to know
what the difference between Cocoa and Carbon are ?
thanks !
what the difference between Cocoa and Carbon are ?
thanks !
carbon isn't 64bit and is going to be killed off sooner or later. Stick with cocoa.
carbon isn't 64bit and is going to be killed off sooner or later.
First bit is wrong; second is speculation. Carbon's GUI APIs are 32-bit only, as are the Carbon QuickTime APIs; avoid these for new development. Most other major Carbon APIs are present on 64-bit OS X. Quite a few provide functionality that is absent or inferior in Cocoa.
For GUI work use Cocoa. For other other things you'll likely want to stay on Cocoa where practical, but don't be put off using officially supported Carbon APIs where you need them.
One thing that hasn't been mentioned is that Carbon (not the GUI stuff) in general is Cocoa in plain C. You still get the retain/release methods and memory management in Carbon has many similarities with Cocoa.
The key thing to remember is: if the API predates 10.0, or is GUI-related, it's gone.
FSSpecs and APIs that use them are also defunct
I am rather new to programming and want to know
what the difference between Cocoa and Carbon are ?
thanks !
I realize this topic was just revived by a troll, but I'd like to ask a quick question regarding Carbon...
Should I avoid it like the plague, or is it still necessary to use it ever?
I'm just learning to use a 3D graphics engine (Ogre 3D) which appears to work much better with Carbon than Cocoa (cocoa will end up having artifacting for some reason where Carbon won't,) but ultimately I'd like the game I'm making with it to be sold on the Mac App Store.
So... Figure out how to make it work with Cocoa, or should I just accept the easy solution of using Carbon?
I realize this topic was just revived by a troll, but I'd like to ask a quick question regarding Carbon...
Should I avoid it like the plague, or is it still necessary to use it ever?
I'm just learning to use a 3D graphics engine (Ogre 3D) which appears to work much better with Carbon than Cocoa (cocoa will end up having artifacting for some reason where Carbon won't,) but ultimately I'd like the game I'm making with it to be sold on the Mac App Store.
So... Figure out how to make it work with Cocoa, or should I just accept the easy solution of using Carbon?
Carbon is deprecated - don't think Mountain Lion will run it?
Carbon is not the "easy solution", because you will have to throw all your Carbon code out and replace it with Cocoa quite soon. Carbon is 32 bit only. It is not actively developed, which means known bugs will not be fixed. It is deprecated. I was told that you can't update your development machine to Mountain Lion.
I guess I need to figure out why the engine has artifacting under cocoa and fix that... doesn't sound like a fun task... not even one I know where to begin with fixing.
Does Ogre 3D have a home page? Maybe there's a newer version.
If there's not a newer version, is there a bug-report web page? Have you filed a bug there?