I'm thinking this is a newbie question, but I can't seem to find an answer in the docs (likely I'm reading them incorrectly).

Situation:

I'm pulling objects into an NSArray to reduce multiple lookups later.

So, I have these objects and I want to do a lookup of one object in the NSArray. But all I have is the value of one element of the object in the array.

Example:

NSArray anArray = EOUtilities...; // gets about 1,000 person objects from the database

Now I'd like to find a single object in anArray based on SSN.

It seems that anArray.indexOfObject( object ); is intended to do this but I don't have the object, I only have an identifier for the object.

I'm sure this is handled, but am out of channels to research.

Thanks

Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to