是否可以用 C++ 对 iPhone 进行编程 [英] Is it possible to program iPhone in C++
本文介绍了是否可以用 C++ 对 iPhone 进行编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我完全支持语言多样性,但 Objective C 太疯狂了.所以我很好奇:是否可以在使用 Cocoa API 等的同时使用 C++ 编写 iPhone 应用程序?
I'm all for language diversity, but Objective C is insane. So I'm curious: is it possible to code iPhone apps with C++ while using the Cocoa API, etc?
推荐答案
简短的回答,是的,有点.您可以使用 Objective-C++,您可以在 Apple 开发者连接.
Short answer, yes, sort of. You can use Objective-C++, which you can read about at Apple Developer Connection.
如果您已经了解 C++,那么如果您决定尝试一下,学习 Objective-C 将非常简单.有关该主题的更多信息,请参阅 ADC.
If you know C++ already, learning Objective-C would be pretty simple, if you decided to give that a try. More info on that topic is at the ADC as well.
这篇关于是否可以用 C++ 对 iPhone 进行编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文