开发者

Can C++ and C# be used for applications for iPhone

Can I write applications for iPhone in C++ or C#? Where can I find simulators for iPhone for testing my apps. How to write t开发者_运维百科hem?


You need at least a small Objective C stub to hook into the system and deal with provided services (including getting input), but your program can be primarily in C++ if you would like. Apple seems to disallow C#; tools such as MonoTouch appear to be banned by the current developer agreement.

With a Macintosh, you go to Apple's developer website and download the tools and SDKs for free. They only run on the Mac.


You will want to start here for iPhone development:

http://gemma.apple.com/iphone/index.action

This is where you will get the iPhone SDK, simulator, and other essential tools.


You can use C, Obj-C, and C# (via MonoTouch).

C++ is a partial via Objective-C++. If you're serious about iPhone development though, I would suggest learning Objective-C.

Apple seems to reserve the right to kill the ability to run any application that wasn't writting in either C or Objective-C.


As far as I know, you can use C# for the iPhone using MonoTouch.

Another tool is unity, which is geared towards games and is based on the same codebase.

Both of these are proprietary and cost $$$.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜