开发者

Cocoa binding with @sum value of child

I'm trying to have a table column to display the sum of child values using the IB. I'm not sure if this is 开发者_运维百科doable though.

So I have my Core Data bind to a table and a column of "total sales amount" that should be a total of the sales of the parent object.

I'm trying to do it like this:

"departments.@distinctUnionOfSets.sales.@sum.amount" in the "Model Key Path" of the Table Column Binding in IB.

Is there any example or tutorial on how to do this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜