Re: Cocoa and future
Re: Cocoa and future
- Subject: Re: Cocoa and future
- From: tahome izwah <email@hidden>
- Date: Fri, 20 Feb 2009 17:35:17 +0100
2009/2/20 Jens Alfke <email@hidden>:
>
> "Carbon" is kind of a fuzzy term. What's being dropped in 64-bit is the
> High-Level Toolbox, the UI layer of Carbon. CarbonCore is still supported —
> it's a key part of the OS underpinnings, and a lot of the Cocoa frameworks
> are based on it.
>
> And CoreAudio itself is not Carbon. (Some people use "Carbon" to refer to
> anything in the OS that's not either Objective-C or derived from Unix, but
> that's not accurate.)
Yes, that's right, thank you for making this clear again. I sometimes
find myself thinking along the same lines but that might be due to the
fact that the Apple documentation isn't exactly top notch and doesn't
really make this perfectly clear either.
> If you see Cocoa as more of a pain than Carbon, that's just the learning
> curve you're looking at. It is much, much more efficient for writing GUI
> code than HLTB. (I spent 12 years programming the Classic OS, then learned
> Cocoa and never looked back.)
I couldn't agree more. You need to give up some old habits though and
need to learn the Cocoa pitfalls (you can easily shoot yourself in the
foot if you're not careful, the compiler will not keep you from
creating code that looks right but isn't).
> I don't see why the cross-platform issues are any greater. Both Carbon and
> Cocoa are Mac-specific APIs. Both of them can call into cross-platform code
> just fine. If your cross-platform code base is in C++, just use
> Objective-C++ (.mm files) for your Cocoa code and it can work with C++
> without any problems. (The last project I did for my previous employer was
> cross-platform and involved just this kind of setup, with cross-platform C++
> interfaced to Obj-C.)
Exactly!
--th
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden