• 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: NSMutableArray: where is addObjectIfAbsent:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableArray: where is addObjectIfAbsent:?


  • Subject: Re: NSMutableArray: where is addObjectIfAbsent:?
  • From: Dean Tresner <email@hidden>
  • Date: Wed, 26 Jun 2002 12:09:21 -0400

Ondra Cada wrote:

On Wednesday, June 26, 2002, at 06:22 , Laurent Daudelin wrote:

OK, I'm maybe late on this one, but why didn't this method make OS X? I
remember pretty well that it was in NeXTSTEP/OPENSTEP. That forces me to
add
an additional test and a an additional line of code...

What about adding a category instead?

Another option is to use NSMutableSet, if you aren't worried about sorting.

Dean
_______________________________________________
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.

  • Prev by Date: Re: Copying Notification Dictonaries & sortingUsingSelector problems
  • Next by Date: Re: Mutable class problems
  • Previous by thread: Re: NSMutableArray: where is addObjectIfAbsent:?
  • Next by thread: Quartz blitter/hardware support?
  • Index(es):
    • Date
    • Thread