This blog talks about iOS,Android,Mac,Cocoa,use of social networks, tips and tricks which can be used by you.
Sunday, July 3, 2011
Mixing C or C++ function with Objective-C
As you can see in the screenshot that C++ methods (e.g. GLuint BuildShader(constchar* source, GLenum shaderType) ) are written above @implementation in objective-C .m file.
I am not saying this is the only way but this is one of the ways I use to mix the C++ methods with my objective-C code.