observeValue(forKeyPath:of:change:context:)
Allows a context that has registered as an observer of a value to be notified of a change to that value.
Declaration
func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [String : Any]?, context: UnsafeMutableRawPointer?)