I have used cocos2d c++ to cre开发者_高级运维ate a small game on my Windows machine. It looks great and now I am planning to put it on my iPod Touch. Can anyone tell me how can I achieve this without actually porting my app on objective c?
I have MAC machine and I can arrange for Apple Developer license as well.
Please help me in this.
A few years ago, Joel asked the same thing. There are very interesting comments there, you should take a look. This one is very enlightening:
Google "Objective-C++". That will give you ideas how to allow your C++ to interface with Objective-C APIs.
After a quick search on stackoverflow, I found that at that time, someone else asked the same question here: Is it possible to program iPhone in C++
精彩评论