• 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
Needed : set class for Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Needed : set class for Cocoa


  • Subject: Needed : set class for Cocoa
  • From: Tommy Nordgren <email@hidden>
  • Date: Fri, 6 Feb 2009 00:29:18 +0100

Do anyone know of a set container class for Cocoa objects, that use pointer semantics.

Like this:
NSMutableString * s1 = [@"Hello" mutableCopy], * s2 = [@"Hello" mutableCopy];


Somesetclass *someSet = [[Somesetclass alloc]init];
[someSet add:s1];
[someSet add: s2];
// After these calls, someSet should contain 2 elements because s1 != s2 by pointer semantics
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Needed : set class for Cocoa
      • From: Peter N Lewis <email@hidden>
    • Re: Needed : set class for Cocoa
      • From: "Sean McBride" <email@hidden>
    • Re: Needed : set class for Cocoa
      • From: Jason Foreman <email@hidden>
    • Re: Needed : set class for Cocoa
      • From: Quincey Morris <email@hidden>
    • Re: Needed : set class for Cocoa
      • From: Ken Thomases <email@hidden>
    • Re: Needed : set class for Cocoa
      • From: Jordan Breeding <email@hidden>
  • Prev by Date: Re: Transparency with PNG on NSImageView
  • Next by Date: Re: underlining
  • Previous by thread: Re: underlining
  • Next by thread: Re: Needed : set class for Cocoa
  • Index(es):
    • Date
    • Thread