3 ms·
Your objective C code in iOS can directly call your C++ code. Your C++ code just need to be renamed with extension .mm.
by HardyLeung 14y ago
Your objective C code in iOS can directly call your C++ code. Your C++ code just need to be renamed with extension .mm.
- cageface 14y agoYeah this is how I use my C++ code on iOS now. I'm more interested in exactly what you do to bootstrap a C++/SDL app from nothing. I guess Armin Ronacher's blog post here makes a pretty good introduction: http://immersedcode.org/2011/4/25/sdl-on-ios/ http://immersedcode.org/2011/4/25/sdl-on-ios/