hi folks,
i am new to iPhone programming.i have a one question.that is how to pass the variable defined in one class to another class . these two class didnot use inheritence feature.
for eg:
please help me to clear the above problem
i am new to iPhone programming.i have a one question.that is how to pass the variable defined in one class to another class . these two class didnot use inheritence feature.
for eg:
Code:
class A
{
int go;
// some methods ..
}
class B
{
some method
{
i want to use "go" variable in this method . is it possible to access the variable from the class A.
}
}
please help me to clear the above problem