2 // NSObjectExtension.swift
5 // Created by Hori,Masaki on 2017/03/22.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
13 func notifyChangeValue(forKey key: String) {
15 willChangeValue(forKey: key)
16 didChangeValue(forKey: key)
19 func notifyChangeValue(forKey key: String, change f: () -> Void) {
21 willChangeValue(forKey: key)
23 didChangeValue(forKey: key)