Get variable data from objetive-c class

Hi!
How can i get data from a variable thats is in a view controller written in objetive-c to a ofapp

You can find an example of a c++ class that uses objective-c code here:

The key is to name your files xxx.h and xxx.m and to set your file type to objective-c++ source in the Xcode panel.