• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Where is NSList?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Where is NSList?
      • From: Allan Odgaard <email@hidden>
References: 
 >Where is NSList? (From: Tim Conkling <email@hidden>)
 >Re: Where is NSList? (From: Kay Roepke <email@hidden>)
 >Re: Where is NSList? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Custom Widget
  • Next by Date: Re: Where is NSList?
  • Previous by thread: Re: Where is NSList?
  • Next by thread: Re: Where is NSList?
  • Index(es):
    • Date
    • Thread