【发布时间】:2017-06-14 16:41:56
【问题描述】:
我想在UITableview 的单独部分中显示NSFetchedresultController 的结果。
【问题讨论】:
标签: ios arrays swift core-data
我想在UITableview 的单独部分中显示NSFetchedresultController 的结果。
【问题讨论】:
标签: ios arrays swift core-data
你总是可以使用 NSFetchedResultsController 访问所有获取的对象
self.yourFetchedResultsController.fetchedObjects
您总是可以小心地打开 fetchedObjects
if let arrayOfYourObjects = self.yourFetchedResultsController.fetchedObjects {
otherArray.appendContentsOf(arrayOfYourObjects)
}
希望对你有帮助
【讨论】: