0
결과를 두 섹션으로 구분하는 NSFetchedResultsController가 있습니다. 간단히 말하면 각 섹션을 자체 배열로 분리하는 것입니다. NSFetchedResultsSectionInfo
의 인스턴스가 -allObjects
에 응답하지 않기 때문이다NSFetchedResultsController 섹션을 배열로 구분합니다.
array1=[[[theFetchedResultsController sections] objectAtIndex:0] allObjects];
array2=[[[theFetchedResultsController sections] objectAtIndex:1] allObjects];