I don't get it
It just loops through itself and anything that matches the block gets added to a temp collection to be returned and removed
Do you mean how do you remove from within a loop? How do you change a collection while iterating over the collection? The loop internal to the method actually sets up an loop over the indices of the collection. The element to be removed used removed using it's index (#removeByIndex: ) #removeByIndex: just goes from the given index to end, scooting every element up one position and then cutting off the last element
Jay O'Connor
"Going places unmapped
to do things unplanned
to people unsuspecting"