iphoneGuiExample pass data back and forth

i am working of the iphoneGuiExample.

i created a new function in the MyGuiView.mm but i not sure how to call it from testApp.cpp.

i know variables can be set like so
myGuiViewController.view.hidden = NO;

but calling a function myGuiViewController.view.newFunction(testInt) does not work

how would i do that?

i figured it out.

in myGuiView.h


in testApp.mm

[myGuiViewController setRow:currentStockRow];  

in myGuiView.mm

	cout<<"set row"<<newRow<<endl;  

1 Like