开发者

Mac C++ GUI coding - comparison to Win32

I am struggling to find a good tutorial on how a Mac C++ GUI application is structured开发者_如何学运维. Coming from Windows programming I'm used to message loops and window handles... is it comparable on Macs or totally different?

Any links or examples are welcome, particularly those aimed at transitioning from Win32 rather than assuming I'm a noob to programming in general.

update: I should point out this is for a game-like application so I don't need to access common controls; I essentially just need a window to render in and a message loop. I don't know if that's below the Cocoa/Carbon API level or if one or the other still has to be used.


I once was in the same situation as you. I would suggest checking out the Mac Dev Center and reading their "Getting Started" guide.


I had done a development on Mac OS X with C++. I was forced to use Carbon with it. Then we used Qt as solution for C++ development with Mac. But I always had to compromise with bugs already present in Qt Framework. But its worth looking into to get few ideas.

Other than that Objective C++ is also nice. Though you will have to follow Cocoa Design Patterns to come with good application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜