NEW QUESTION:
Does anyone know where I could get/buy a book or tutorial on writing wrappers? To link them into my C++ app?
OLD QUESTION:
Hey guys this is probably a common question among forums but I just keep having my doubts about a few things... I've heard it is possible to make you're apps in C++ and use some sort of "wrapper" to make all these functions work on the iOS platform (iPads/iPhones)
So my question is, if I make an app. in C++, for instance, would it be hard or would it take too much time to make it work in iOS?
What is you're opinion, and you're experiences with this?
Learning Objective-C at the moment is a problem in terms of time it takes since I rather stick with C/C++ since I'm studying electronics engineering...
This guy gives a good run down on wrapping C++ objects using Objective C++. I've had to do this myself and I second his advice - segregate code of each language using thin wrappers.
Mixing the two languages all over the place will only leave you open to often obscure and confusing bugs. Not to mention your code will get increasingly more difficult to read. Good design is also a must.