watch OS support

This commit is contained in:
John Estropia
2015-10-20 20:38:58 +09:00
parent 4792c4462e
commit dc8bdf3bad
14 changed files with 433 additions and 42 deletions

View File

@@ -149,7 +149,7 @@ internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResult
break
}
if self.deletedSections.contains(indexPath.section) {
if self.deletedSections.contains(indexPath.indexAtPosition(0)) {
self.handler?.controller(
controller,
@@ -162,7 +162,7 @@ internal final class FetchedResultsControllerDelegate: NSObject, NSFetchedResult
}
case .Update:
guard let section = indexPath?.section else {
guard let section = indexPath?.indexAtPosition(0) else {
return
}