I have a very basic question. I\'m a new iPhone programmer.
My question is can anybody tell me how can I pass values by reference to a function in obj. C? I know how to do
-(void)secondFunc:(NSInteger*)i
{
*j=20;
//From here u can change i value as well
//now i and j value is same (i.e i=j=20)
}
-(void) firstFunc
{
NSInteger i=5;
[self secondFunc :&i];
//i value is 20
}