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

标签 iphone database ipad uitableview core-data

是否可以在不将 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/

相关文章:

ios - 如何创建具有背景和旋转图像的 iPhone 应用程序?

iphone - Libssh2,使用 xcode 构建库

iphone - 根据文本自动调整 UITextView

iphone - 通过网络应用程序访问 Iphone Pim 数据

php - 多个 AND 的组合,NOT IN 条件在 php mysql 查询中不能正常工作

php - 完成后不关闭与数据库的连接对安全有何影响?

MySQL 如何显示逐月的 yield 或损失?

iphone - 拍照并设置到iOS中的UIImageView

iphone - 从 MDM 服务器验证配置字典

iphone - iOS 应用内购买还原返回许多交易