Re: Filter Multidimensional Array?
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