title: iphone - how do i check if NSMutableArray ObjectAtIndex doesnt have any value
body: <p>how do i check an array if objectatIndex has any values? im using a forloop</p>
  
  <pre><code>for (i = 0; i &lt; 6 ; i++)
  {
      if ([array objectAtIndex: i] == NULL)//This doesnt work.
      {
          NSLog(@"array objectAtIndex has no data");
      }
  }
  </code></pre>