Hi,
can we pass NSArray as reference, if yes then how?
I had tried as
NSMutableArray *temp;
...
[self set:temp];
...
NSLog(@"%@", temp);
- (void) set
NSArray*) t
{
t = [NSArray arrayWithObject
"Test"];
}
getting output as null.
can we pass NSArray as reference, if yes then how?
I had tried as
NSMutableArray *temp;
...
[self set:temp];
...
NSLog(@"%@", temp);
- (void) set
{
t = [NSArray arrayWithObject
}
getting output as null.