title: objective-c accessing arrays
body: <p>I have done the following trying to create 2d and 3d arrays:</p>
  
  <pre><code>Array1 = [[NSMutableArray alloc]init];
  Array2 = [[NSMutableArray alloc]init];
  Array3 = [[NSMutableArray alloc]init];
  
  for loop 
  [Array1 insertObject:Array2 atIndex:i];
  //some code....
  [Array2 insertObject:Array3 atIndex:j];
  </code></pre>
  
  <p>im not sure if this is right but every time i loop in my code i add Array2 to a new index in Array1 but im note sure if this works. In other words i hope im not moving the whole array again every time ?!!</p>
  
  <p>Now my problem is that i need to access array2 through looping in array1, then array3 through array2.  I just need to know how to access these arrays using loops so that i can display each array's contents. I need to do something like this array [i][j]
   where "i" for array1 and "j" is for array2</p>