I am new to iPhone. I tried a lot to declare 2D array but I am unable to get the result.
NSMutableArray *outerarray = [[NSMutableArray alloc] init];
outerarray = [NSMutableArray arrayWithObjects:
[NSMutableArray arrayWithObjects:@"10-20","21-30","31-40","41-50","51-60","61-70","71-80","81-90","91-100",nil,
[NSMutableArray arrayWithObjects:@"10-20","21-30","31-40","41-50","51-60","61-70","71-80","81-90","91-100",nil],
nil];
I want to combine two arrays elements and compare it with other element.
Anyone can help me please?
@"..."is anNSString."..."is not, it’s a C string constant. You need to use the@"..."syntax for allNSStringobjects you’re putting into anNSArray.