title: Calling C++ from Objective-C
body: <p>For those of you who have successfully been able to call C++ code from Objective-C, will you please enlighten me?</p>
  
  <p>This <a href="http://robnapier.net/blog/wrapping-cppfinal-edition-759/comment-page-1#comment-24076" rel="noreferrer">link</a> says you need to wrap your C++ code using a technique he describes in his article. It looks good but I still have problems.</p>
  
  <p>This <a href="https://stackoverflow.com/questions/12920598/import-cpp-files-from-a-working-ios-project-and-rename-to-mm-issue">link</a> says that as long as the Objective-C class calling the C++ class has been converted to a .mm (Objective-C++) class then the two should work nicely together.</p>
  
  <p>Each of these approaches are causing me grief the minute I try to add a method call. Can somebody please give me code for a simple Hello World iOS app that uses Objective-C for the "Hello" part and a C++ class for the "World" part with an Objective-C++ class in the middle? Or do I still have the entire concept wrong?</p>