• 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: Removing duplicates from NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing duplicates from NSMutableArray


  • Subject: Re: Removing duplicates from NSMutableArray
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 2 Dec 2002 14:19:10 -0800

On Monday, December 2, 2002, at 02:05 PM, Jan Van Tol wrote:

What is the best way to filter out duplicate NSStrings from an NSMutableArray? I can think of one way I could probably do it, but it seems pretty inefficient. Any suggestions?

Is this a matter of the same string being added to an array multiple times, or are we talking about multiple identical string instances? How is this array being generated in the first place?

-jcr


John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.

References: 
 >Removing duplicates from NSMutableArray (From: Jan Van Tol <email@hidden>)

  • Prev by Date: Is there a command to check binaries for shared library dependencies?
  • Next by Date: Re: NSWindow setReleasedWhenClosed
  • Previous by thread: Removing duplicates from NSMutableArray
  • Next by thread: Re: Removing duplicates from NSMutableArray
  • Index(es):
    • Date
    • Thread