removing objects from arrays

Posted by Sam Jarman on Stack Overflow See other posts from Stack Overflow or by Sam Jarman
Published on 2010-03-17T02:01:43Z Indexed on 2010/03/17 2:11 UTC
Read the original article Hit count: 424

Hey All I have an array(NSMutableArray) with 8 objects.

I then remove number 5 (removeObjectAtIndex:4)

does the array now count only 7 objects? or 8 with a space?

I need to know. I plan to 'drain the array' after doing a thing with each object.

Cheers Guys

Sam

© Stack Overflow or respective owner

Related posts about nsmutablearray

Related posts about iphone-sdk-3.1