Cocoa 与 child 的 @sum 值绑定

发布于 2024-08-11 23:52:02 字数 463 浏览 1 评论 0原文

我试图有一个表列来使用 IB 显示子值的总和。我不确定这是否可行。

因此,我将核心数据绑定到一个表和一个“总销售额”列,该列应该是父对象的销售额总额。

我正在尝试这样做:

[电子邮件受保护] <表列绑定的“模型密钥路径”中的 href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="96b8d6e5e3fbb8f7fbf9e3f8e2">[email protected]"在IB中。

有没有关于如何执行此操作的示例或教程。

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:

"[email protected][email protected]" in the "Model Key Path" of the Table Column Binding in IB.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文