• 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: Why won't this work!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why won't this work!?


  • Subject: Re: Why won't this work!?
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 24 Oct 2007 09:58:00 -0400

And to add to the discussion thread the api for NSArray says:

Conformance to the NSKeyValueCodingAdditions interface. NSArray's implementation is more complex than the default:

* If keyPath indicates an operation takes an argument (such as computing an average), valueForKeyPath performs the operation and returns the result. key indicates an aggregate operation if its first character is "@". For example, if key is "@avg.salary", valueForKey invokes compute on the "avg" operator specifying the array and "salary" as arguments. This has the effect of computing and returning the average salary of the array's elements.
* Otherwise, valueForKeyPath behaves similarly to valueForKey and produces a new NSArray whose elements correspond to the results of invoking valueForKeyPath on each element of this array.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Why won't this work!? (From: Miguel Arroz <email@hidden>)
 >Re: Why won't this work!? (From: Kieran Kelleher <email@hidden>)
 >Re: Why won't this work!? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Why won't this work!?
  • Next by Date: Fetching data into an Array
  • Previous by thread: Re: Why won't this work!?
  • Next by thread: Re: Why won't this work!?
  • Index(es):
    • Date
    • Thread