By smek
on Thu, 11/15/2012 - 11:47
Hi everyone,
I like to start a new ViewController from an virtual button but how can I call a Objective C method from this C++ method. The keywords self gives the following error:
Use of undeclared identifier 'self'
I like to call the Objective C method [self test];
How can this be done?
Thanks
Call Objective C method from VirtualButton_UpdateCallback
Hi smek,
The problem here is that "self" has no meaning because the callback is declared in its own namespace and as such does not belong to an object i.e. there is no self.