Hacker News new | ask | show | jobs
by anonyreliant 6346 days ago
How do you do C++ on the iPhone? I thought it required Objective C and working with the Cocoa GUI?
1 comments

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.