Hi everyone, I need help with a problem I'm facing these days:
I have a main window that is associated with a class (lets call it ClassA) and I have a panel associated with another class (lets call it ClassB).
I open the panel with a button on the main window and execute some methodes in the ClassB.... at the end I want to close the panel (I know how to do that) and execute a methode in ClassA, but the command for that has to be in ClassB....
I don't know how to do it....
I tryed with
Code:
ClassA* myScript = [[ClassA alloc] init];
[myScript myMethodeOnClassA];
but it doesnt work...
I mean... it works but then it crashes... I guess this is not the right way to follow.... but then wich is it?
Any advise would be very appreciated...
Thanks and Peace!
Massy