• 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
Searching NSArray of EO objects for key value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Searching NSArray of EO objects for key value


  • Subject: Searching NSArray of EO objects for key value
  • From: Randall Perry <email@hidden>
  • Date: Thu, 08 Jul 2004 23:19:28 -0400

I've got an NSArray of EO objects from a db fetch. I need to search the
objects in the array to see if one key value matches a variable.

Specifically, I need to see if the 'filesize' key value matches the filesize
of a file that's about to be uploaded (to test for potential dupes).

What's the best way to do this? Should I just iterate through the array
checking each object's key value, or is there a shortcut?



--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Searching NSArray of EO objects for key value
      • From: Chris Hanson <email@hidden>
    • Re: Searching NSArray of EO objects for key value
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: Validation messages
  • Next by Date: Re: Searching NSArray of EO objects for key value
  • Previous by thread: Web Service, complex type as return value
  • Next by thread: Re: Searching NSArray of EO objects for key value
  • Index(es):
    • Date
    • Thread