0
關於NSFetchedResultsController
的委託:的iOS在什麼條件下控制器:didChangeSection:atIndex:forChangeType:所謂
這不是很清楚,我從文檔中的哪些條件controller:didChangeSection:atIndex:forChangeType:
被調用。
如果您使用的是NSFetchedResultsController
而只有一個部分是controller:didChangeSection:atIndex:forChangeType:
曾經被調用過?
因爲我刪除了我的FRC的所有對象/行用單節和......
controller:didChangeObject:atIndexPath:forChangeType:newIndexPath:
被稱爲
controller:didChangeSection:atIndex:forChangeType:
從未被調用。
是的,但通過設置我認爲的FRC上的排序描述符來添加/刪除段落。所以通過設置一個排序描述符,我不應該至少有一次調用這個方法嗎?或者你需要多種排序描述符才能激發它? –