Merge pull request #2590 from daboe01/CPKeyValueObserving-fix-CPKeyValueChangeReplacement

FIXED: Typo in call to replaceObjectsAtIndexes in CPKeyValueObserving
This commit is contained in:
cacaodev
2018-02-27 15:58:13 +01:00
committed by GitHub
+1 -1
View File
@@ -209,7 +209,7 @@
[[self mutableArrayValueForKeyPath:aKeyPath] removeObjectsAtIndexes:indexes];
else if (changeKind === CPKeyValueChangeReplacement)
[[self mutableArrayValueForKeyPath:aKeyPath] replaceObjectAtIndexes:indexes withObjects:newValue];
[[self mutableArrayValueForKeyPath:aKeyPath] replaceObjectsAtIndexes:indexes withObjects:newValue];
}
else
{