Skip to content

Comment on Ask HN: c++ or iPhone?parent

Comments

How do you do C++ on the iPhone? I thought it required Objective C and working with the Cocoa GUI?

Cocoa Touch does require Objective C. But the environment blends very well with C and C++. The beauty is you don't need to worry about calling conventions, or go through some native code invocation API. So you can write the GUI code in Objective C and other parts in C++ if you wish. Though, other than to reuse existing code/libraries, I doubt most people will want to do that.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.