I want to add create a 2-d array in objective c for example int a[0][i]
like this unspecified number of column.I have a normal NSMutableArray contains image in it.Now what I need is if I take a 3 photos for first time it has to save in column 0 then I'll take another 4 photos it has to save in column 1.Initially if I take 3 photos these images is saved first in a NSMutableArray named "image_name".Now the bunch of images has to move to index path 0 then second time I'll take for example 2 photos it has to save in index path 1 and it has to go on.
The index path has to be unspecified and I have to insert bunch of images from a NSMutableArray named "image_name" to index path 0 then clear the "image_name" array now capture bunch of images move to index path 1 and it has to move on ?
Please help how to create a dynamic 2-d array ?