I have an abstract class in pure c++ (with a pure virtual function), and i have to implement that in a objective c class, how would i do that?
if i declare,
@interface MyClass : NSObject <MyOtherClass>
it throws an error telling protocol is not defined in MyOtherClass
Definition of C++ class:
class MyOtherClass
{
virtual void myFunc() = 0;
};
Thanks in advance