KVCを使えば、このようなコードが自動的に値を計算してくれる。 KVC with special keyPath is really powerful for collection objects like NSArray and NSDictionary and NSSet AppleのDocを見る @max, @min, @sum, @avg Sample 1 : One of the element in the array does not contain height property