By jmpslo
on Wed, 11/26/2014 - 10:03
Hi, i was trying to reuse the videoplayback sample and make my own framework for opengl.
But when i try to refactor the VideoPlayBackViewController i have an error telling me that classes are imported or included by files that are obective-c++.
But i cant find thats objectivec++ files that include VideoPlayBackViewController.
The same issue with EAGLView
Thanks.
Problem refactoring sample project
This is a general iOS progamming question.
You probably need to check that your files have extension .mm or .m, depending on whether you use obj-c with C++ or just obj-c.
See also this:
http://stackoverflow.com/questions/3684112/what-is-objective-c
Problem refactoring sample project
Thanks Alessandro.
I didnt notice that i was trying to refactor a class with the implementation on objective c++.
Regards.