I know in order to avoid these type of compiling errors a way to solve this is to use @class MyClass in the header instead of import. Then #import the header in the implementation but this is not working for me.
The compile errors does not appear in the header file where I am importing the class but in the imported class' header.
The error I get is
class PVRShell --> Redefinition of 'PVRShell' as different kind of symbol.
Just in case I am using PowerVR and GLView(OpenGl) in my project.
Any ideas of how can I solve this compile error?
Rename your file extension from .m to .mm. You have to do that if your class use Objective-C++.