Can i write Cocoa Touch[iPhone] applications in C++ language
1开发者_如何学JAVA) Can i write iPhone applications in pure C++ language, i know that we can use Objective-C++, i just want to know if we can also write it in pure C++ language.
2) while creating MAC OX application inXCode, we have an option to create C/C++ application, will the same options work for me to write iPhone applications?
You cannot use pure C++ only - at least a portion of the UI must be written in Objective C/Objective C++, as all applications must provide a delegate and a main view.
Once you have the application running and do not wish to use the UI libraries (such as a game), you can proceed to use Core Graphics or OpenGL to handle screen drawing. You will need a small Objective C/C++ layer to handle touch events.
精彩评论