• 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: Remove Duplicates in a NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove Duplicates in a NSArray


  • Subject: Re: Remove Duplicates in a NSArray
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 3 Oct 2008 10:53:31 +0200

On 01.10.2008, at 13:29, Rashmi Vyshnavi wrote:
Is there a way to remove dictionary item containing same values for a key
from a array of dictionaries?


If you used an NSSet instead of an NSArray, you might get this automatically. Not sure whether the objects really have to be the same, or whether it suffices that they're equal regarding their values, but it might be worth a try.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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


References: 
 >Remove Duplicates in a NSArray (From: "Rashmi Vyshnavi" <email@hidden>)

  • Prev by Date: Re: NSWindowController retain count confusion
  • Next by Date: Re: IB plugins
  • Previous by thread: Re: Remove Duplicates in a NSArray
  • Next by thread: Obtaining image from a scanner using ImageKit?
  • Index(es):
    • Date
    • Thread