Re: How do I extent the enumerator for a growing array??
Re: How do I extent the enumerator for a growing array??
- Subject: Re: How do I extent the enumerator for a growing array??
- From: Sherm Pendley <email@hidden>
- Date: Thu, 11 Jul 2002 14:57:14 -0400
On Thursday, July 11, 2002, at 06:29 AM, Gjermund Gusland Thorsen wrote:
Do I just:
myEnumerator++;
inside the loop or is that considered bad programming???
Here' s what the NSEnumerator docs say:
"It isn't safe to modify a mutable collection while enumerating through
it."
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.