title: iterating NSArray, checking items?
body: <p>i have an NSArray collection. it contains NSArray and NSDictionary.
  while i iterate the items i want to check if it is NSArray or NSDictionary.</p>
  
  <pre><code>for (int i=0;i&lt;[data count];i++){
  [data objectAtIndex:i]// how can i check 
  }
  </code></pre>
  
  <p>any help, please???</p>