• 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: Collection classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collection classes


  • Subject: Re: Collection classes
  • From: Óscar Morales Vivó <email@hidden>
  • Date: Thu, 8 Jan 2004 16:29:29 +0100

I need a set. A set excludes duplicates, and is not ordered. It is not by
definition unordered, it is just that order is not imposed. That is a
fine distinction, but a distenction none-the-less. Now, for what I am
currently working on, I also need order. I can find no ordered collection
with set symantics in the Cocoa class library.


Euh...? What's there that you can't get from NSSet and NSMutableSet?

I sometimes also like the fine control that STL has to offer, but I don't think more collection classes are needed in Foundation. Also keep in mind that all those are class clusters so you might get different actual classes depending on what you're doing. If you really need that extra push in speed you might be able to directly use specific derived classes in the various class clusters that adjust better to your needs.

Hope that helps.

Oscar Morales Vivs.
_______________________________________________
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: Collection classes
      • From: "Timothy Reaves" <email@hidden>
    • Re: Collection classes
      • From: "Timothy Reaves" <email@hidden>
References: 
 >Re: Collection classes (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: Collection classes
  • Next by Date: nstextview scrolling
  • Previous by thread: Re: Collection classes
  • Next by thread: Re: Collection classes
  • Index(es):
    • Date
    • Thread