Let’s say. if I have c++ files (.cpp and .h) then can I use those file to create an iPhone app ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have never worked with objective C, but I have talked about this with fellow co-workers who have, and yes you can. I think you have to make objective C interface hooks as to use your c++ code. I am pretty sure you cant exclusively program in C++, but need at least objective C interfaces to call it
hope this shines a bit of hope on it for you
good luck!
people have ported Ogre (open graphics rendering engine) to iOS, and basically the porting developer i think just wrapped all of the C++ with objective C hooks
Also I would be 100% certain that Box2D has been ported and wrapped the same way