• 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: Filter Multidimensional Array?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filter Multidimensional Array?


  • Subject: Re: Filter Multidimensional Array?
  • From: Keary Suska <email@hidden>
  • Date: Sat, 17 May 2008 12:55:35 -0600
  • Thread-topic: Filter Multidimensional Array?

on 5/16/08 7:40 PM, email@hidden purportedly said:

> I have created a multidimensional array by creating 3 NSArray's (call
> them childArray1, childArray2, childArray3) and them adding them to
> one NSArray (call it parentArray).  I am using predicate to search out
> the array which finds the item I'm searching for.  However, how I
> return the name of the original array that the found item came from
> (either childArray1, childArray2 or childArray3)?

I think you mean hw to get a reference to the array owning the resulting
object, in which case the only way I know of is by manually performing a
-containsObject: on each array.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: 
 >Filter Multidimensional Array? (From: Chris Purcell <email@hidden>)

  • Prev by Date: Call for Cocoa Developers
  • Next by Date: Re: NSURLRequest : Unable to Quit App after Syn call to Server.
  • Previous by thread: Filter Multidimensional Array?
  • Next by thread: Keyboard Layout
  • Index(es):
    • Date
    • Thread