【发布时间】:2010-07-20 12:19:52
【问题描述】:
我有 2 个实体 - BlogEntry 和 BlogComments。
BlogEntry.cmets 是与 BlogComments 的“对多”关系
| BlogEntry |
-----------------
| subject |
| body |
| comments (rel)|
| BlogComments |
------------------
| commentText |
| blogEntry (rel)|
现在,我有一个表格视图,我希望第一行是 BlogEntry 正文(文本),其余行是 BlogComments。 NSFetchedResultsController 可以做到这一点吗?我可以断绝这样的关系吗?如果是这样,有人能指出我正确的方向吗?
【问题讨论】:
标签: ios iphone uitableview core-data