OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3732fe5
)
無駄なKVOノティフィケーションを削除
author
masakih
<masakih@users.sourceforge.jp>
Mon, 11 Dec 2017 12:45:01 +0000
(21:45 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Mon, 11 Dec 2017 12:45:01 +0000
(21:45 +0900)
KCD/JSONMapper.swift
patch
|
blob
|
history
diff --git
a/KCD/JSONMapper.swift
b/KCD/JSONMapper.swift
index
f3d454f
..
cafbfa2
100644
(file)
--- a/
KCD/JSONMapper.swift
+++ b/
KCD/JSONMapper.swift
@@
-84,10
+84,7
@@
extension JSONMapper {
let old = object.value(forKey: key)
if !isEqual(old as AnyObject?, validValue) {
- object.notifyChangeValue(forKey: key) {
-
- object.setValue(validValue, forKey: key)
- }
+ object.setValue(validValue, forKey: key)
}
}