Thursday, February 17, 2011

[NSArray objectEnumerator]

NSEnumerator * enumerator = [array objectEnumerator];
id arrayItem;

while (arrayItem = [enumerator nextObject]) {
   // Do something about arrayItem
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.