Re: Custom Array/Set keypath

2008-09-09 Thread Mike Abdullah
Create a custom NSValueTransformer subclass that takes the data and calculates its standard deviation On 9 Sep 2008, at 16:22, Jamie Phelps wrote: I would like to bind the value of an NSTextField to the standard deviation of a keypath. My class Foo has an instance variable "amount." I fou

Custom Array/Set keypath

2008-09-09 Thread Jamie Phelps
I would like to bind the value of an NSTextField to the standard deviation of a keypath. My class Foo has an instance variable "amount." I found the NSExpression function stddev: and thought I would create a category but that didn't work out like I had hoped. Any thoughts appreciated. Tha