Skip to content

Commit

Permalink
fixes waring
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsprint09 committed Jan 14, 2021
1 parent be872e9 commit e8533f3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ public final class FetchedResultsDataProvider<Object: NSFetchRequestResult>: NSO
case .delete:
guard let indexPath = indexPath else { fatalError("Index path should be not nil") }
updates.append(.delete(indexPath))
@unknown default:
print("Sourcing: Unknown Event at: controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?)")
}
}

Expand Down

0 comments on commit e8533f3

Please sign in to comment.