I have three arrays and all are multidimensional.
What I want is:
Array1:
id=[1,2,3]
name=[a,b,c]
price=[1,2,3]
Array2:
id=[4,5,6]
name=[d,e,f]
price=[4,5,6]
Array3:
id=[7,8,9]
name=[g,h,i]
price=[7,8,9]
So, how can i merge/combine the ID,Name and Price from array2 and array3, to array 1 so that I get this result:
Array1:
id=[1,2,3,4,5,6,7,8,9]
name=[a,b,c,d,e,f,g,h,i]
price=[1,2,3,4,5,6,7,8,9]
I have to do it seperate. Or is it possible like this:
NSMutableArray *array = [[NSMutableArray alloc]initWithObjects:array1id aray2id array3id,array1name array2name array3name,array1price array2price array3price, nil];