Re: Where is NSList?
Re: Where is NSList?
- Subject: Re: Where is NSList?
- From: Chris Hanson <email@hidden>
- Date: Tue, 27 Jul 2004 22:57:34 -0700
On Jul 27, 2004, at 3:18 PM, Allan Odgaard wrote:
The limitations with NSEnumerator is that we cannot express ranges
with it, we cannot assign to the container through it, we cannot
"adapt" the iteration w/o affecting performance, we can only do
forward-iteration element-by-element, we cannot copy an enumerator to
save the position etc.
That is probably why close to no methods take an NSEnumerator as
argument ;)
Well, of course not. Why would something that operates on a collection
take an enumerator as an argument? Then it would be operating on the
enumerator, not the collection.
-- Chris
--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
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.