• 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: Changing values of an array of objects.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing values of an array of objects.


  • Subject: Re: Changing values of an array of objects.
  • From: Ricardo Strausz <email@hidden>
  • Date: Fri, 18 Jul 2003 16:36:18 -0500

That souds greate!! that's new...
Thanks

On viernes, juli 18, 2003, at 16:27 America/Mexico_City, Ben Trumbull wrote:

At 16:17 -0500 7/18/03, Ricardo Strausz wrote:
If I have an array of objects (say, nsa = displayGroup.allObjects()) and I want to change homogeneously a value in all of them (say, eo.takeValueForKey(value,key)),
can I use nsa.makeObjectsPerformSelector(takeValueForKey,{value,key}) insteed of a for() loop??




Yes, but you could just do myArray.takeValueForKey(value, key) --

-Ben
_______________________________________________
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.

  • Prev by Date: Re: Changing values of an array of objects.
  • Next by Date: What the...???
  • Previous by thread: Re: Changing values of an array of objects.
  • Next by thread: What the...???
  • Index(es):
    • Date
    • Thread