OSDN Git Service

staticプロパティをインスタンスプロパティに変更
[kcd/KCD.git] / KCD / NSObjectExtension.swift
index 9619e37..6167ddb 100644 (file)
@@ -9,12 +9,15 @@
 import Foundation
 
 extension NSObject {
+    
     func notifyChangeValue(forKey key: String) {
+        
         willChangeValue(forKey: key)
         didChangeValue(forKey: key)
     }
     
     func notifyChangeValue(forKey key: String, change f: () -> Void) {
+        
         willChangeValue(forKey: key)
         f()
         didChangeValue(forKey: key)