Skip navigation.
 
mlRe: Filter Multidimensional Array?
FROM : Keary Suska
DATE : Sat May 17 20:55:35 2008

on 5/16/08 7:40 PM, <email_removed> 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"

Related mailsAuthorDate
mlFilter Multidimensional Array? Chris Purcell May 17, 03:40
mlRe: Filter Multidimensional Array? Keary Suska May 17, 20:55