void
describeArray (NSArray *array)
{
  int i, count;
  count = [array count];
  for (i = 0; i < count; i++)
  {
    NSLog (@"Object at index %d is: %@", 
           i, [array objectAtIndex: i]);
  }
}
Of course, this code is in a certain sense useless, because you can
just get the complete description of the array in a single
NSLog call, as shown in the previous section; but it fulfils
its purpose, which is to show a concrete example of how to iterate on
array elements.