In Java, I have something like this
String arr[][] = new String[][];
for(int i=0;i<=count;i++) //"count" is some dynamically determined counter
{
for(int j=0;j<=count;j++)
{
arr[i][j] = //some assignment
}
}
//retrival of the strings in the same manner
I want to declare an empty 2D array and then dynamically assign 'String' values to it and also retrieve them later. How can I achieve this in Objective-C?
I checked out some answers on this topic but storing and retrival mechanism is still not clear to me.