• 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: compare two array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compare two array


  • Subject: Re: compare two array
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 01 Apr 2006 20:03:06 -0800
  • Thread-topic: compare two array

on 06/04/01 16:50, Yorh at email@hidden wrote:

> I have two Arrays onr with a varibla number of objects and the second
> one too.
> I have to remove from the first array the object that isn't present
> in the second one, but I can't find if there is some method to do it...

I don't believe there is.  Write your own method and put it in a category to
NSMutableArray.  Enumerate through the second array using -indexOfObject.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: compare two array
      • From: Andy Lee <email@hidden>
    • Re: compare two array
      • From: Paul Forgey <email@hidden>
References: 
 >compare two array (From: Yorh <email@hidden>)

  • Prev by Date: compare two array
  • Next by Date: Re: Program responding to events
  • Previous by thread: compare two array
  • Next by thread: Re: compare two array
  • Index(es):
    • Date
    • Thread