Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Commit

Permalink
Fixed runtime issue updating sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Jan 22, 2013
1 parent f425c8d commit 3d4b848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFMasterViewController.m
Expand Up @@ -112,10 +112,10 @@ - (void)controller:(NSFetchedResultsController *)controller didChangeSection:(id

switch(type) {
case NSFetchedResultsChangeInsert:
change[@(type)] = @[@(sectionIndex)];
change[@(type)] = @(sectionIndex);
break;
case NSFetchedResultsChangeDelete:
change[@(type)] = @[@(sectionIndex)];
change[@(type)] = @(sectionIndex);
break;
}

Expand Down

0 comments on commit 3d4b848

Please sign in to comment.