I have two classes of View Controllers….
View 1
View 2
View 1
@interface BillDataEntryViewController : UIViewController {
double x;
double y;
//It is a big file but only showing which is necessary..
}
//I have not declare any Properties nor I have synthesize it?
View 2
In another View I am creating an Object of view1 called objView1
but I am not able to access objView1.double ? Why..
You will need to add properties for each ivar and synthesize them.
Then you can call:
objView1.xorobjView1.y