gpt4 book ai didi

iphone - 直接从 Core Data 获取的具有多对多的单个 UITableView

转载 作者:搜寻专家 更新时间:2023-10-30 21:36:53 25 4
gpt4 key购买 nike

是否可以在不将 NSFetchedResultsController 结果转换为数组然后嵌套数组的情况下让单个 UITableView 显示来自两个链接实体的记录?

enter image description here

让 UITableView 结果看起来像:

enter image description here

任何方向都会很好,非常感谢。

最佳答案

也许使用 fetched properties ? :

Fetched properties represent weak, one-way relationships. In the employees and departments domain, a fetched property of a department might be "recent hires" (employees do not have an inverse to the recent hires relationship). In general, fetched properties are best suited to modeling cross-store relationships, "loosely coupled" relationships, and similar transient groupings.

关于iphone - 直接从 Core Data 获取的具有多对多的单个 UITableView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5707844/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com