Hi
I've been looking a solution to my problem. I red this document:
http://developer.apple.com/document...l/KeyValueCoding/Concepts/ArrayOperators.html
- but I still have no glue how to do this.
I have an Array, which is bind to Person class.
Person class has 2 values: "Name" and "Total"
I want to sum "Total" column where name equals someName.
I mean I don't want to sum whole column but only the rows with certain "Name" value.
I probably have to use loop function but I'm not sure how to do this.
I would be very thanful if anyone can help me with this.
Helikutt
I've been looking a solution to my problem. I red this document:
http://developer.apple.com/document...l/KeyValueCoding/Concepts/ArrayOperators.html
- but I still have no glue how to do this.
I have an Array, which is bind to Person class.
Person class has 2 values: "Name" and "Total"
I want to sum "Total" column where name equals someName.
I mean I don't want to sum whole column but only the rows with certain "Name" value.
I probably have to use loop function but I'm not sure how to do this.
I would be very thanful if anyone can help me with this.
Helikutt