IOS is now officially supported in OpenCV. See installation instructions here: http://docs.opencv.org/trunk/doc/tutorials/introduction/ios_install/ios_install.html#ios-installation
As Stefan noted, it is not recommended to mix Objective-C with C ++. Often you will need to change the file extension from β.mβ for Objective-C to β.mmβ for Objective-C ++ so that it can compile correctly. However, it is best to isolate all the vision code of your computer, especially those using C ++, in a class (or in several classes) and write the Objective-C class as a wrapper for this class. This is so that the rest of your system will only interact with the Objective-C class, not C ++.
As with Xcode v4 +, some IDE operations do not work well when working with C ++ code. For example, if you try to reorganize a class that has C ++ code (the file has the extension β.mmβ), Xcode will tell you that it cannot perform the operation because it is dealing with C ++. Therefore, it is a good idea to isolate C ++ from Objective-C code.
source share