title: Iterate through nested arrays to grab the first object of each array, then the second, etc
body: <p>I have nested <code>Arrays</code>,</p>
  
  <p>For example:</p>
  
  <p>[[1,2,3,4,5], [A,B,C,D,E], [Z,Y,X,W,V]</p>
  
  <p>I want to iterate through this array and create a new array, that looks like this:</p>
  
  <p>[1,A,Z,2,B,Y,3,C,X,4,D,W,5,E,V]</p>
  
  <p>I was initially thinking of using nested <code>For</code> loops, e.g.:</p>
  
  <pre><code>   int index = 0;
     int stop = [[arrays objectAtIndex:0] count];
     NSMutableArray* finalArray = [NSMutableArray new];
     while(index &lt; stop)
     {
        for(id array in images)
        {
           [finalArray addObject:[array objectAtIndex:index]];
        }
        index++;
     }
  </code></pre>
  
  <p>What would be the most efficient way of doing this?</p>