I have two arrays, Namely
NMutableArray* first; NMutableArray* second;
Now I copy the first object to the second array, for example
for (int i=0;i<first.count; i++) { [second addObject:[first objectAtIndex:i]; }
This is normal. I do not know how to access the value of the first array. I tried like this:
[second addObject:[[first objectAtIndex:i]name]];
I want to get the value of the name that is in the first object of the first array. I tried using the above line, it shows some warning. Please help me
ios iphone cocoa-touch cocoa foundation
Perseus
source share